mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Preparing for upgrading expo SDK
This commit is contained in:
@ -38,4 +38,9 @@ const styles = StyleSheet.create({
|
||||
}
|
||||
})
|
||||
|
||||
export default HeaderLeft
|
||||
export default React.memo(HeaderLeft, (prev, next) => {
|
||||
let skipUpdate = true
|
||||
skipUpdate = prev.text === next.text
|
||||
skipUpdate = prev.icon === next.icon
|
||||
return skipUpdate
|
||||
})
|
||||
|
Reference in New Issue
Block a user