Closed IvanZen closed 1 year ago
How do you use it? Did you set the ModalProvider
?
Yes, I've set the provider in /app/layout.tsx
like this:
where's useModal
?
I just rewrote the logic of dialog from scratch, and it works now😂. Maybe I missed something before. Thanks for your reply.
np, good to know it works now!
I'm attempting to use this library with Next.js 13 and App router, and running into the error:
Error: No modal id found in NiceModal.useModal.