File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
templates/next/pages/foos/[id] Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
41
41
42
42
export const getStaticPaths : GetStaticPaths = async ( ) => {
43
43
const response = await fetch ( "/{{{name}}}" ) ;
44
- const paths = getPathsFromHydraResponse ( response , true ) ;
44
+ const paths = await getPathsFromHydraResponse ( response , true ) ;
45
45
return {
46
46
paths,
47
47
fallback :true
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
45
45
}
46
46
export const getStaticPaths : GetStaticPaths = async ( ) => {
47
47
const response = await fetch ( "/{{{name}}}" ) ;
48
- const paths = getPathsFromHydraResponse ( response , false ) ;
48
+ const paths = await getPathsFromHydraResponse ( response , false ) ;
49
49
return {
50
50
paths,
51
51
fallback :true
You can’t perform that action at this time.
0 commit comments