Compare commits

...
Author SHA1 Message Date
tdgao 47636434ad fix cannot read "body" from undefined 2026-02-17 16:22:12 -07:00
@@ -8,13 +8,13 @@ const props = defineProps<{
watch(
() => props.shown,
(shown) => {
document.body.classList.toggle('floating-action-bar-shown', shown)
document?.body.classList.toggle('floating-action-bar-shown', shown)
},
{ immediate: true },
)
onUnmounted(() => {
document.body.classList.remove('floating-action-bar-shown')
document?.body.classList.remove('floating-action-bar-shown')
})
</script>