Skip to content

Commit

Permalink
fix(fe2): resolve PortalTarget SSR attribute inheritance warning (#3804)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwallacespeckle authored Jan 13, 2025
1 parent 91063c9 commit 01ccc0d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/frontend-2/layouts/withRightSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
<div
class="hidden lg:flex h-full w-[17rem] shrink-0 border-l border-outline-3 bg-foundation-page"
>
<PortalTarget name="right-sidebar">
<div class="h-full w-full flex items-center justify-center">
<CommonLoadingIcon />
</div>
</PortalTarget>
<ClientOnly>
<PortalTarget name="right-sidebar">
<div class="h-full w-full flex items-center justify-center">
<CommonLoadingIcon />
</div>
</PortalTarget>
</ClientOnly>
</div>
</div>
</div>
Expand Down

0 comments on commit 01ccc0d

Please sign in to comment.