Skip to content

Commit

Permalink
add export back to generateStaticParams
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnetangsu committed Aug 30, 2023
1 parent a2b23ae commit c5aaf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type ParamsType = {
slug: string[];
};

async function generateStaticParams() {
export async function generateStaticParams() {
const storyblokApi: StoryblokClient = getStoryblokApi();
let sbParams: ISbStoriesParams = {
version: activeEnv === 'development' ? 'draft' : 'published',
Expand Down

0 comments on commit c5aaf7a

Please sign in to comment.