From d1ee69a70a50a0683d8d9853be8526980f044b71 Mon Sep 17 00:00:00 2001 From: david raistrick <1108844+keen99@users.noreply.github.com> Date: Mon, 29 Jun 2026 12:03:57 -0400 Subject: [PATCH] Revert "M3: stub db sentinel in ws/memory mode so legacy guards pass" This reverts commit a5a4df78f01c7b48ce352b4a288c4d35bda13926. --- src/App.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/App.js b/src/App.js index fe01c58..a460536 100644 --- a/src/App.js +++ b/src/App.js @@ -122,13 +122,10 @@ const initializeStorage = () => { } // ws / memory mode: stub auth so App's anon-sign-in path works. - // db stays a truthy sentinel object so legacy `if (!db) return` guards pass; - // all real reads/writes route through `storage.*`, never the SDK `db`. const FAKE_USER = { uid: 'local-user', isAnonymous: true }; auth = { currentUser: FAKE_USER, }; - db = { __localStub: true }; storage = getStorage(); return true; };