Skip to content

Commit

Permalink
Merge pull request #411 from Psychedelic/fix/clock-error-login
Browse files Browse the repository at this point in the history
Fix: Clock error login
  • Loading branch information
tomiir authored Mar 29, 2022
2 parents c81a5c5 + f253c6b commit 550630a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/Popup/Views/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ const Home = () => {
sendMessage({ type: HANDLER_TYPES.GET_STATE, params: {} }, (state) => {
if (!state?.wallets?.length) {
sendMessage({ type: HANDLER_TYPES.LOCK, params: {} }, () => navigator.navigate('login'));
}
if (!clockValidated) {
} else if (!clockValidated) {
isClockInSync().then((isInSync) => !isInSync && navigator.navigate('clockError'));
}
dispatch(setAccountInfo(state.wallets[state.currentWalletId]));
Expand Down

0 comments on commit 550630a

Please sign in to comment.