mirror of
https://github.com/tooot-app/app
synced 2025-02-21 14:20:50 +01:00
Fix account page info not shown on first load
React memo is the issue
This commit is contained in:
parent
4499bb8bae
commit
5bb77d0114
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user