diff --git a/pages/index.tsx b/pages/index.tsx index a1f83dc..4402f61 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -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: {},