Skip to content

Commit

Permalink
debug: hydration mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Nov 15, 2023
1 parent e7a0f63 commit f8015cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .vitepress/theme/components/Profile.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<Avatar />
<!-- <Avatar /> -->
<div :class="$style.profile">
<h1 :class="$style.nickname">
{{ nickname }}
Expand All @@ -8,16 +8,16 @@
<span :class="$style.dot">•</span>
<span>{{ bio }}</span>
</p>
<ProfileExtra />
<!-- <ProfileExtra /> -->
</div>
</template>

<script lang="ts" setup>
import { useData } from "vitepress";
const { theme } = useData();
const { nickname, bio } = theme.value;
import Avatar from "./Avatar.vue";
import ProfileExtra from "./ProfileExtra.vue";
// import Avatar from "./Avatar.vue";
// import ProfileExtra from "./ProfileExtra.vue";
</script>

<style scoped module>
Expand Down

0 comments on commit f8015cd

Please sign in to comment.