Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

add supabaseDarkMode to allowed local storage keys

Alaister Young8630561d64ce
diff --git a/studio/lib/local-storage.ts b/studio/lib/local-storage.ts
index bd2cb0bdcb2..611bcd1616c 100644
--- a/studio/lib/local-storage.ts
+++ b/studio/lib/local-storage.ts
@@ -1,4 +1,4 @@
-export const LOCAL_STORAGE_KEYS_ALLOWLIST = ['graphiql:theme', 'theme']
+export const LOCAL_STORAGE_KEYS_ALLOWLIST = ['graphiql:theme', 'theme', 'supabaseDarkMode']
export function clearLocalStorage() {
for (const key in localStorage) {