diff --git a/ui/src/reactions.ts b/ui/src/reactions.ts index 0f8f6db22..1a5015c91 100644 --- a/ui/src/reactions.ts +++ b/ui/src/reactions.ts @@ -6,7 +6,6 @@ const AUDIO_REPEAT_DELAY = 1000; export const registerReactions = (stores: StoreMapping) => { window.addEventListener('pagehide', stores.messagesStore.executePendingDeletes); - window.addEventListener('beforeunload', stores.messagesStore.executePendingDeletes); const clearAll = () => { stores.messagesStore.clearAll();