From 2ebf5183b8414a76ef255d59f505553692e9f35e Mon Sep 17 00:00:00 2001 From: qt-coder Date: Tue, 22 Jun 2021 08:24:07 +0800 Subject: [PATCH] fixed linting error with build --- pages/controlpanel/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/controlpanel/index.js b/pages/controlpanel/index.js index 1de3a7f..757a20b 100644 --- a/pages/controlpanel/index.js +++ b/pages/controlpanel/index.js @@ -3,7 +3,7 @@ import CardContainer from '../../components/CardContainer' import Head from 'next/head' import { useSession } from 'next-auth/client' -function index() { +function Index() { const [session, loading] = useSession() @@ -27,4 +27,4 @@ function index() { ) } -export default index +export default Index