Skip to content

Commit

Permalink
fix(Next): change string to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
BenedictLang committed Aug 15, 2024
1 parent 4daac59 commit 739d8bf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/[slugParent]/[[...slugChild]].js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,6 @@ export async function getStaticPaths() {

return {
paths,
fallback: 'false',
fallback: false,
};
}
2 changes: 1 addition & 1 deletion src/pages/authors/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ export async function getStaticPaths() {

return {
paths: [],
fallback: 'false',
fallback: false,
};
}
2 changes: 1 addition & 1 deletion src/pages/categories/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ export async function getStaticPaths() {

return {
paths: [],
fallback: 'false',
fallback: false,
};
}
2 changes: 1 addition & 1 deletion src/pages/posts/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,6 @@ export async function getStaticPaths() {

return {
paths,
fallback: 'false',
fallback: false,
};
}
2 changes: 1 addition & 1 deletion src/pages/posts/page/[page].js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export async function getStaticPaths() {

return {
paths: [],
fallback: 'false',
fallback: false,
};
}

0 comments on commit 739d8bf

Please sign in to comment.