refactor(store): reset store on unmount and skip re-creating hooks on re-mount

This commit is contained in:
braks
2022-08-01 14:45:56 +02:00
committed by Braks
parent 0d10adcbdb
commit 90b3bd0bc3

View File

@@ -121,6 +121,7 @@ const el = ref<HTMLDivElement>()
onUnmounted(() => {
dispose()
$reset()
})
onMounted(() => {