diff --git a/webUI/react/src/App.tsx b/webUI/react/src/App.tsx index bc24a22e..0a1e011a 100644 --- a/webUI/react/src/App.tsx +++ b/webUI/react/src/App.tsx @@ -4,14 +4,13 @@ import React, { useState } from 'react'; import { - BrowserRouter as Router, Route, Switch, + BrowserRouter as Router, Redirect, Route, Switch, } from 'react-router-dom'; import { Container } from '@material-ui/core'; import CssBaseline from '@material-ui/core/CssBaseline'; import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'; import NavBar from './components/NavBar'; -import Home from './screens/Home'; import Sources from './screens/Sources'; import Extensions from './screens/Extensions'; import SourceMangas from './screens/SourceMangas'; @@ -94,9 +93,13 @@ export default function App() { - - - + ( + + )} + /> diff --git a/webUI/react/src/screens/Home.tsx b/webUI/react/src/screens/Home.tsx deleted file mode 100644 index 6a14a418..00000000 --- a/webUI/react/src/screens/Home.tsx +++ /dev/null @@ -1,13 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ - -import React from 'react'; - -export default function Home() { - return ( -

- Hint: Click Tn The Top Left Menu Button -

- ); -}