mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
fix import
This commit is contained in:
parent
8ee1e0ff8a
commit
76ab0ceb67
@ -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: {},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user