fix(example): Prevent hydration error in music example (#1569)

<DisalogTrigger> should have asChild when a button used.
This commit is contained in:
Bumsik Kim
2023-10-21 21:58:30 +09:00
committed by GitHub
parent 5877dcd21a
commit cf0dadafce

View File

@@ -35,7 +35,7 @@ export function PodcastEmptyPlaceholder() {
You have not added any podcasts. Add one below.
</p>
<Dialog>
<DialogTrigger>
<DialogTrigger asChild>
<Button size="sm" className="relative">
Add Podcast
</Button>