Skip to content

Commit

Permalink
feat: make profileExtra ClientOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Nov 15, 2023
1 parent 0261564 commit 38dcb04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .vitepress/theme/components/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<span :class="$style.dot">•</span>
<span>{{ bio }}</span>
</p>
<ProfileExtra />
<ClientOnly>
<ProfileExtra />
</ClientOnly>
</div>
</template>

Expand Down
4 changes: 1 addition & 3 deletions .vitepress/theme/components/ProfileExtra.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
fill="var(--vp-c-text-2)"
/>
</svg>
<ClientOnly>
{{ `${now.HHmm} (${now.UTCZ})` }}
</ClientOnly>
{{ `${now.HHmm} (${now.UTCZ})` }}
</li>
</ul>
</template>
Expand Down

0 comments on commit 38dcb04

Please sign in to comment.