Skip to content

Commit

Permalink
docs: fix dialog rendering error
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Mar 6, 2024
1 parent 5ec635a commit c51fa68
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/components/demo/DialogToaster/tailwind/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ import { Toaster, toast } from 'vue-sonner'
</DialogPortal>
</DialogRoot>

<Teleport to="html">
<Toaster />
</Teleport>
<ClientOnly>
<Teleport to="html">
<Toaster />
</Teleport>
</ClientOnly>
</div>
</template>

0 comments on commit c51fa68

Please sign in to comment.