From 0108b27911bf5ddf10ccc0009c8bfef707ac928b Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Mon, 7 Apr 2025 11:49:05 +0100 Subject: [PATCH] Fixing messages --- frontend/src/app/album/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/album/page.tsx b/frontend/src/app/album/page.tsx index b315ced..2c92e4a 100644 --- a/frontend/src/app/album/page.tsx +++ b/frontend/src/app/album/page.tsx @@ -58,7 +58,7 @@ export default function Page() { const result = await updateAlbum(formData) .then(response => { if (response.ok) { - return handleSnackbar(`Successfully updated Album with ID ${formData.get("id")}: ${result}`, true); + handleSnackbar(`Successfully updated Album with ID ${formData.get("id")}: ${result}`, true); } Promise.reject(response); })