Fix the mechanical lint groups and delete the unused bindings. [skip build]
Checks / checks (push) Successful in 2m12s
Trigger cinny-mobile / dispatch (push) Successful in 2s

This commit is contained in:
litruv committed 2026-11-01 20:31:21 +11:00
1 parent 593dd3bdf3
commit 5477242661
26 files changed
+95 -161

No files matched your search

@@ -89,7 +89,7 @@ const deleteAllMatrixDatabases = async (): Promise<void> => {
// Delete each database with timeout
const deletePromises = dbsToDelete.map(async (dbName) => {
try {
const deletePromise = new Promise<void>((resolve, reject) => {
const deletePromise = new Promise<void>((resolve) => {
const request = indexedDB.deleteDatabase(dbName);
request.onsuccess = () => {
console.log(`[AccountSwitcher] ✅ Deleted database: ${dbName}`);
@@ -155,7 +155,9 @@ export function AccountSwitcher({ currentUserId }: AccountSwitcherProps) {
await deleteAllMatrixDatabases();
// Small delay to ensure cleanup is complete
await new Promise((resolve) => setTimeout(resolve, 100));
await new Promise((resolve) => {
setTimeout(resolve, 100);
});
// Reload the page to initialize the new session
console.log('[AccountSwitcher] Reloading page...');