add resizing logic

This commit is contained in:
Ishaan Dey
2024-05-09 22:16:56 -07:00
parent 1500e84724
commit e86e86dbe2
8 changed files with 150 additions and 50 deletions

View File

@ -120,7 +120,12 @@ export default function NewProjectModal({
}
return (
<Dialog open={open} onOpenChange={setOpen}>
<Dialog
open={open}
onOpenChange={(open: boolean) => {
if (!loading) setOpen(open);
}}
>
<DialogContent>
<DialogHeader>
<DialogTitle>Create A Sandbox</DialogTitle>