Skip to content

Commit

Permalink
fix(Notification): prevent error without timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Aug 17, 2022
1 parent a0d56d0 commit 8a66f5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/runtime/components/overlays/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ onMounted(() => {
})
onUnmounted(() => {
timer.stop()
if (timer) {
timer.stop()
}
})
</script>

Expand Down

0 comments on commit 8a66f5e

Please sign in to comment.