Skip to content

Commit

Permalink
fix: トップページにgetStaticPathsは不要だった
Browse files Browse the repository at this point in the history
  • Loading branch information
TeXmeijin committed Aug 9, 2020
1 parent 5d2263c commit 5ddd42c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export const getStaticProps = async () => {
}
}

export const getStaticPaths: GetStaticPaths = async () => {
return {
paths: [
],
fallback: true
}
}

const Home = ({ articles }: InferGetStaticPropsType<typeof getStaticProps>) => {
return (
<div>
Expand Down

0 comments on commit 5ddd42c

Please sign in to comment.