From 76ab0ceb6790f831f99b190f514afc01125e3884 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Sun, 2 May 2021 18:23:40 +0200 Subject: [PATCH] fix import --- pages/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: {},