Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
fix: set Loading state after sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
radko93 committed Dec 4, 2020
1 parent 657e664 commit 82f89c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/snjs_helper_hooks.ts
Expand Up @@ -260,6 +260,8 @@ export const useSyncStatus = () => {
application!.alertService!.alert(
'Unable to write to local storage. Please restart the app and try again.'
);
} else if (eventName === ApplicationEvent.SignedIn) {
setLoading(true);
}
}
);
Expand Down

0 comments on commit 82f89c7

Please sign in to comment.