From 180ea021cba02885071fa3430a4154403a944f27 Mon Sep 17 00:00:00 2001 From: qt coder Date: Sun, 27 Jun 2021 21:49:16 +0800 Subject: [PATCH] Changed text sizes and removed unused imports --- pages/controlpanel/index.js | 3 ++- pages/index.js | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/controlpanel/index.js b/pages/controlpanel/index.js index 9367471..721339b 100644 --- a/pages/controlpanel/index.js +++ b/pages/controlpanel/index.js @@ -2,6 +2,7 @@ import React from 'react' import Card from '../../components/Card' import Head from 'next/head' import { useSession } from 'next-auth/client' +import { Text } from "@chakra-ui/react" function Index() { @@ -18,7 +19,7 @@ function Index() { Cath Control Panel
-

Control Panel

+ Control Panel diff --git a/pages/index.js b/pages/index.js index e861d0c..41314e0 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,7 +1,6 @@ -import { Typography } from '@material-ui/core' -import CardContainer from '../components/CardContainer' import Card from '../components/Card' import { useSession } from 'next-auth/client' +import { Text } from "@chakra-ui/react" export default function Home() { @@ -15,7 +14,7 @@ export default function Home() { } {session && <> -

Welcome {session.user.name}!

+ Welcome {session.user.name}!