mirror of
https://github.com/kou029w/_.git
synced 2025-02-07 09:38:46 +00:00
fix build error
This commit is contained in:
parent
2e3ae535fc
commit
5de84b485f
1 changed files with 1 additions and 1 deletions
|
@ -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 }) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue