1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-07 09:38:46 +00:00

fix build error

This commit is contained in:
Nebel 2020-06-11 21:59:57 +09:00
parent 2e3ae535fc
commit 5de84b485f

View file

@ -1,7 +1,7 @@
import { useRouter } from "next/router"; import { useRouter } from "next/router";
export function getStaticPaths() { export function getStaticPaths() {
return { paths: [{ params: { path: "test" } }], fallback: true }; return { paths: [{ params: { path: "test" } }], fallback: false };
} }
export function getStaticProps({ params }: { params: unknown }) { export function getStaticProps({ params }: { params: unknown }) {