Disconnect observers instead of unobserve

This commit is contained in:
2022-08-02 00:07:17 +02:00
parent 8584095f33
commit 2215b1329c
2 changed files with 2 additions and 1 deletions

View File

@@ -81,7 +81,7 @@
// Destroy
return () => {
navObserver && navObserver.unobserve(introEl)
navObserver && navObserver.disconnect()
}
})
</script>