reor icon indicating copy to clipboard operation
reor copied to clipboard

Migrate away from modal context

Open joseplayero opened this issue 1 year ago • 1 comments

We should have a shadcn dialog component that we use for every modal and then whenever a modal is needed, the component that generates the component can just import the child content that goes inside the modal/dialog. That will make the codebase simpler and easier to understand in my opinion

@milaiwi do you have thoughts on matter?

joseplayero avatar Oct 09 '24 17:10 joseplayero

Yeah, that'd be much better. So essentially defining an export ReusableDialog that another component imports and passes it's own CustomContent.

milaiwi avatar Oct 09 '24 22:10 milaiwi