diff options
author | crupest <crupest@outlook.com> | 2022-10-27 20:47:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-10-27 20:47:31 +0800 |
commit | db15382363419ae572f5ee2b7fef37013f665970 (patch) | |
tree | 1e6824ecfa8de9e1271408dafc13020882b6ee88 /FrontEnd/src/App.tsx | |
parent | 83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf (diff) | |
download | timeline-db15382363419ae572f5ee2b7fef37013f665970.tar.gz timeline-db15382363419ae572f5ee2b7fef37013f665970.tar.bz2 timeline-db15382363419ae572f5ee2b7fef37013f665970.zip |
Fix all errors so far.
Diffstat (limited to 'FrontEnd/src/App.tsx')
-rw-r--r-- | FrontEnd/src/App.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <div>Ah-oh, 404!</div>; }; -function App(): ReactElement | null { +function App(): JSX.Element { const user = useUser(); return ( |