mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix account page info not shown on first load
React memo is the issue
This commit is contained in:
@@ -58,7 +58,7 @@ const AccountInformationFields = React.memo(
|
||||
</View>
|
||||
)
|
||||
},
|
||||
() => true
|
||||
(_, next) => next.account === undefined
|
||||
)
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
|
@@ -32,7 +32,7 @@ const AccountInformationNote = React.memo(
|
||||
</View>
|
||||
)
|
||||
},
|
||||
() => true
|
||||
(_, next) => next.account === undefined
|
||||
)
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
|
Reference in New Issue
Block a user