fix(theme): fix invalid vp-offset in ssr

pull/3997/head
Divyansh Singh 2 months ago
parent b360ac88df
commit 9794877347

@ -1,7 +1,10 @@
<script setup lang="ts">
import { useWindowSize } from '@vueuse/core'
const { width: vw } = useWindowSize({ includeScrollbar: false })
const { width: vw } = useWindowSize({
initialWidth: 0,
includeScrollbar: false
})
</script>
<template>

Loading…
Cancel
Save