Fix account page info not shown on first load

React memo is the issue
This commit is contained in:
Zhiyuan Zheng 2021-05-17 22:32:35 +02:00
parent 4499bb8bae
commit 5bb77d0114
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ const AccountInformationFields = React.memo(
</View>
)
},
() => true
(_, next) => next.account === undefined
)
const styles = StyleSheet.create({

View File

@ -32,7 +32,7 @@ const AccountInformationNote = React.memo(
</View>
)
},
() => true
(_, next) => next.account === undefined
)
const styles = StyleSheet.create({