From 8ebda6a51fc3aa8c3d1e61633f1d581bfcd8f017 Mon Sep 17 00:00:00 2001 From: aatbip Date: Thu, 8 Feb 2024 17:42:56 +0545 Subject: [PATCH] fix issue with server action --- src/app/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index e15131c..bd6b87c 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -34,8 +34,8 @@ export default function RootLayout({ children }: { children: React.ReactNode }) method: 'PUT', body: JSON.stringify(settingsPayload), }); - - Promise.all([revalidateTag('settings'), revalidateTag('customFieldAccess')]); + revalidateTag('settings'); + revalidateTag('customFieldAccess'); }} />