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