From db15382363419ae572f5ee2b7fef37013f665970 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 27 Oct 2022 20:47:31 +0800 Subject: Fix all errors so far. --- FrontEnd/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FrontEnd/src/App.tsx') diff --git a/FrontEnd/src/App.tsx b/FrontEnd/src/App.tsx index 78e8a146..18f6cd97 100644 --- a/FrontEnd/src/App.tsx +++ b/FrontEnd/src/App.tsx @@ -1,4 +1,4 @@ -import React, { ReactElement } from "react"; +import React from "react"; import { BrowserRouter, Route, Routes } from "react-router-dom"; import AppBar from "./views/common/AppBar"; @@ -20,7 +20,7 @@ const NoMatch: React.FC = () => { return
Ah-oh, 404!
; }; -function App(): ReactElement | null { +function App(): JSX.Element { const user = useUser(); return ( -- cgit v1.2.3