I'm having trouble using the shadcn-ui Sheet component

I keep gettting the error below Error: DialogTrigger must be used within Dialog anybody know what I might be getting wrong
2 Replies
josh-dev627
josh-dev627•3y ago
I also encountered this one, specially when I'm using a button
Mike Farad
Mike FaradOP•3y ago
lol realised I imported the wrong Sheet 😅

Did you find this page helpful?