Skip to content

Commit

Permalink
bugfix show pages in preview mode
Browse files Browse the repository at this point in the history
  • Loading branch information
antiantivirus committed Sep 25, 2024
1 parent c1a1f26 commit c294588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/radio/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Show({
);
}

export async function getStaticProps({ params, preview = true }) {
export async function getStaticProps({ params, preview = false }) {
return {
props: { preview, ...(await getRadioPageSingle(params.slug, preview)) },
};
Expand Down

0 comments on commit c294588

Please sign in to comment.