Skip to content
Snippets Groups Projects
Commit 06b4e9bc authored by insert's avatar insert
Browse files

If IDB is not present, allow app to load as normal

parent fd7abea5
Branches
No related merge requests found
Subproject commit 50570240bc09fc23794bb4452c1c0f35599b3219
Subproject commit 9db39a2eecc5fbb7ed06d4598da60700e96e3274
......@@ -138,7 +138,9 @@ function Context({ auth, sync, children, dispatcher }: Props) {
useEffect(() => {
(async () => {
await client.restore();
if (client.db) {
await client.restore();
}
if (auth.active) {
dispatcher({ type: "QUEUE_FAIL_ALL" });
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment