fix import

This commit is contained in:
Michael Schramm 2021-05-02 18:23:40 +02:00
parent 8ee1e0ff8a
commit 76ab0ceb67

View File

@ -1,6 +1,6 @@
import { Alert, Layout } from 'antd'
import { AuthFooter } from 'components/auth/footer'
import { NextPage } from 'next'
import { GetStaticProps, NextPage } from 'next'
import getConfig from 'next/config'
import { useRouter } from 'next/router'
import React, { useEffect, useState } from 'react'
@ -78,6 +78,9 @@ const Index: NextPage = () => {
}
export const getStaticProps: GetStaticProps = async () => {
// just to be conforming with eslint
await Promise.resolve()
return {
revalidate: 10,
props: {},