diff --git a/packages/datastore/src/datastore/datastore.ts b/packages/datastore/src/datastore/datastore.ts index f138cde7b12..4719953808d 100644 --- a/packages/datastore/src/datastore/datastore.ts +++ b/packages/datastore/src/datastore/datastore.ts @@ -785,6 +785,7 @@ async function clear() { await storage.clear(); + initialized = undefined; //Should re-initialize when start() is called. storage = undefined; sync = undefined; }