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•14mo ago
I also encountered this one, specially when I'm using a button
Mik3y-F
Mik3y-F•14mo ago
lol realised I imported the wrong Sheet 😅