fix(settings): hydration mismatch

This commit is contained in:
三咲智子 2022-12-30 04:15:53 +08:00
parent b0b0bb2f9c
commit 28e26f6b12
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -20,8 +20,8 @@ const isRootPath = computedEager(() => route.name === 'settings')
</template> </template>
<div xl:w-97 lg:w-78 w-full> <div xl:w-97 lg:w-78 w-full>
<SettingsNavItem <SettingsNavItem
v-if="currentUser" v-show="currentUser"
command :command="!!currentUser"
icon="i-ri:user-line" icon="i-ri:user-line"
:text="$t('settings.profile.label')" :text="$t('settings.profile.label')"
to="/settings/profile" to="/settings/profile"