I have a fresh Astro install with Shadcn. I installed and imported the Dialog component, and added the example code from their docs in my index.astro file. I'm getting this error:
DialogTrigger must be used within Dialog
I found the same error on a Github issue, but the solution doesn't work for me.
Anyone know what I'm doing wrong?