Skip to content

Commit ceb944a

Browse files
committed
fix(unload): remove beforeunload warning since we communicate via wss
1 parent acb4e57 commit ceb944a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

apps/sim/stores/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ async function initializeApplication(): Promise<void> {
4343
// Mark data as initialized only after sync managers have loaded data from DB
4444
dataInitialized = true
4545

46-
// Register cleanup
47-
window.addEventListener('beforeunload', handleBeforeUnload)
48-
4946
// Log initialization timing information
5047
const initDuration = Date.now() - initStartTime
5148
logger.info(`Application initialization completed in ${initDuration}ms`)

0 commit comments

Comments
 (0)