diff --git a/packages/client/src/components/notification.vue b/packages/client/src/components/notification.vue index 1f70d441ef..dbd6b61c2b 100644 --- a/packages/client/src/components/notification.vue +++ b/packages/client/src/components/notification.vue @@ -126,7 +126,7 @@ export default defineComponent({ }); onUnmounted(() => { - if (readObserver) readObserver.unobserve(elRef.value); + if (readObserver) readObserver.disconnect(); if (connection) connection.dispose(); }); }