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); })