Skip to content

Commit

Permalink
crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii committed May 22, 2024
1 parent 823a5d0 commit 4b487e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mobile/src/screens/HoldersWebView/HoldersWebView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export const HoldersWebView = memo<HoldersWebViewProps>((props) => {
token: tk.wallet.cards.state.data.token,
status: {
state: accountState?.state,
kycStatus: accountState?.state === 'need-kyc' ? accountState.kycStatus : null,
kycStatus: accountState?.state === 'need-kyc' ? accountState?.kycStatus : null,
suspended: accountState?.suspended || false,
},
},
Expand Down Expand Up @@ -244,7 +244,7 @@ export const HoldersWebView = memo<HoldersWebViewProps>((props) => {
initialInjectState: initialState,
});
}, [
accountState.kycStatus,
accountState?.kycStatus,
accountState?.state,
accountState?.suspended,
accountsPrivate,
Expand Down

0 comments on commit 4b487e9

Please sign in to comment.