fix(Notification): prevent error without timeout

This commit is contained in:
Benjamin Canac
2022-08-17 14:10:34 +02:00
parent a0d56d0f66
commit 8a66f5e9bf

View File

@@ -192,7 +192,9 @@ onMounted(() => {
})
onUnmounted(() => {
timer.stop()
if (timer) {
timer.stop()
}
})
</script>