Skip to content

Commit

Permalink
dont generate page for live preview
Browse files Browse the repository at this point in the history
  • Loading branch information
dogfrogfog committed Jan 10, 2025
1 parent 06e312d commit 9296fce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions apps/storyblok/src/app/live-preview/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ export async function generateMetadata(props: Props): Promise<Metadata> {
return fetchStoryMetadata("draft", params.slug);
}

export async function generateStaticParams() {
return [];
}

export default async function Home(props: Props) {
const params = await props.params;
const {
Expand Down
1 change: 0 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"NEXT_PUBLIC_*",
"SB_*",
"SANITY_*",
"NEXT_PREVIEW_TOKEN",
"NODE_ENV",
"VERCEL_ENV",
"VERCEL_REDEPLOY_HOOK_URL"
Expand Down

0 comments on commit 9296fce

Please sign in to comment.