pages Page to Index

This commit is contained in:
tmshv committed 2020-03-21 20:03:31 +03:00
1 parent c1a3af3a3e
commit a13b642979
4 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -43,7 +43,7 @@ type Props = {
data: CardData[]
}
const Page: NextPage<Props> = props => {
const Index: NextPage<Props> = props => {
if (!props.data) {
console.log('kek error')
return
@@ -131,4 +131,4 @@ export const getStaticProps = async (ctx: NextPageContext) => {
}
}
export default Page
export default Index