Skip to content

Setting initialized at the right time #4

Description

@DorKeinath

Does it make sense to replace your

initializeDB().then(() => {
     initializeTables();
     setInitialized(true);
   });
 }, []);

with

initializeDB().then(async () => {
    await initializeTables();
    setInitialized(true);
  });
}, []);

to ensure, that initialized isn't set to early?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions