pages Page to Index
This commit is contained in:
1 parent
c1a3af3a3e
commit
a13b642979
4 files changed
+8
-8
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user