From 82ab716cc0428118993170460e1ff4952e7bdf69 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Sun, 6 Apr 2025 18:07:37 +0100 Subject: [PATCH] Fixing form submission --- frontend/src/app/album/page.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/app/album/page.tsx b/frontend/src/app/album/page.tsx index ffeb2a7..0c876a1 100644 --- a/frontend/src/app/album/page.tsx +++ b/frontend/src/app/album/page.tsx @@ -30,7 +30,7 @@ export default function Page() { const response = await createAlbum(formData); await response.json(); - handleClose(); + setShow(false); } if (!albums) return
Loading...
@@ -99,11 +99,6 @@ export default function Page() { -
-
- -
-