Skip to content

Commit

Permalink
fix: temporarily disable slot usage causing hydration mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 29, 2020
1 parent 084c7de commit 0239159
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/client/theme-default/components/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
<aside class="sidebar" :class="{ open }">
<NavLinks class="nav" />

<slot name="sidebar-top" />
<!-- temporarily disabled due to ssr/hydration bug in vue core -->
<!-- <slot name="sidebar-top" /> -->

<SideBarLinks />

<slot name="sidebar-bottom" />
<!-- <slot name="sidebar-bottom" /> -->
</aside>
</template>

Expand Down

0 comments on commit 0239159

Please sign in to comment.