ordering-ui-react-native 0.23.21 → 0.23.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -130,8 +130,9 @@ NavBar.defaultProps = {
|
|
|
130
130
|
textAlign: 'center'
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
const areEqual = (prevProps: { route?: any
|
|
134
|
-
return prevProps.route === nextProps.route
|
|
133
|
+
const areEqual = (prevProps: { route?: any, title?: string }, nextProps: { route?: any, title?: string }) => {
|
|
134
|
+
return prevProps.route === nextProps.route &&
|
|
135
|
+
JSON.stringify(prevProps.title) === JSON.stringify(nextProps.title)
|
|
135
136
|
return true
|
|
136
137
|
}
|
|
137
138
|
|