fix: prevent hydration mismatch after refreshing settings (#663)
This commit is contained in:
parent
1bb8963d98
commit
ca37b65962
|
@ -9,6 +9,7 @@ const isRootPath = computedEager(() => route.name === 'settings')
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<div min-h-screen flex>
|
<div min-h-screen flex>
|
||||||
<div border="r base" :class="isRootPath ? 'block lg:flex-none flex-1' : 'hidden lg:block'">
|
<div border="r base" :class="isRootPath ? 'block lg:flex-none flex-1' : 'hidden lg:block'">
|
||||||
<MainContent>
|
<MainContent>
|
||||||
|
@ -63,4 +64,5 @@ const isRootPath = computedEager(() => route.name === 'settings')
|
||||||
<NuxtPage />
|
<NuxtPage />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue