Skip to content

Commit

Permalink
Move things around.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherakama committed Jan 10, 2024
1 parent 5724804 commit a390299
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/(editor)/editor/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ type StoryblokLayoutProps = {
children: React.ReactNode,
};

// Control what happens when a dynamic segment is visited that was not generated with generateStaticParams.
export const dynamic = 'force-dynamic';
export const revalidate = 0;

export default function StoryblokLayout({ children }: StoryblokLayoutProps) {
return (
<StoryblokProvider isEditor={true}>
Expand Down

0 comments on commit a390299

Please sign in to comment.