Skip to content

Commit

Permalink
fix issue with server action
Browse files Browse the repository at this point in the history
  • Loading branch information
aatbip committed Feb 8, 2024
1 parent c0e3213 commit 8ebda6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}}
/>
</ToggleDecider>
Expand Down

0 comments on commit 8ebda6a

Please sign in to comment.