Skip to content

Commit

Permalink
fix(example): Prevent hydration error in music example
Browse files Browse the repository at this point in the history
<DisalogTrigger> should have asChild when a button used.
  • Loading branch information
kbumsik committed Sep 21, 2023
1 parent c0deeac commit e423039
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e423039

Please sign in to comment.