1
0

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>
<div xl:w-97 lg:w-78 w-full>
<SettingsNavItem
v-if="currentUser"
command
v-show="currentUser"
:command="!!currentUser"
icon="i-ri:user-line"
:text="$t('settings.profile.label')"
to="/settings/profile"