From df1b0ba7a81af5534cac7805b84b0b8afd5df623 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Mon, 7 Apr 2025 14:07:15 +0100 Subject: [PATCH] Revalidating Album on create/edit --- frontend/src/app/album/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/album/page.tsx b/frontend/src/app/album/page.tsx index 3e6477f..456ed70 100644 --- a/frontend/src/app/album/page.tsx +++ b/frontend/src/app/album/page.tsx @@ -88,6 +88,7 @@ export default function Page() { const id = event.currentTarget.getAttribute('album-id'); if (id) { try { + revalidateAlbum(); const data = await getAlbum(parseInt(id)); setFormModalTitle("Edit Album"); setFormModalButtonLabel("Save");