From 4bae1b3e20316886c875f0ba17a9d7ac48368585 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 20 Apr 2022 15:19:54 +0200 Subject: [PATCH] Minor cleanup --- src/client/src/FrontPage.js | 8 +++--- src/client/src/TournamentAnnouncement.js | 34 ------------------------ 2 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 src/client/src/TournamentAnnouncement.js diff --git a/src/client/src/FrontPage.js b/src/client/src/FrontPage.js index ebe1da4..25bbe9e 100644 --- a/src/client/src/FrontPage.js +++ b/src/client/src/FrontPage.js @@ -3,7 +3,6 @@ import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; import TournamentCreator from "./TournamentCreator.js"; import TournamentOverview from "./TournamentOverview.js"; import TournamentManager from "./TournamentManager.js"; -import TournamentAnnouncement from "./TournamentAnnouncement"; import TournamentHistory from "./TournamentHistory"; import TournamentTeams from "./TournamentTeams"; import AppBar from './components/AsuraBar'; @@ -144,6 +143,9 @@ function Home() { + + Finished tournaments are moved to the history-page + ); @@ -160,10 +162,6 @@ export default function App() { } /> } /> } /> - } - /> diff --git a/src/client/src/TournamentAnnouncement.js b/src/client/src/TournamentAnnouncement.js deleted file mode 100644 index af10100..0000000 --- a/src/client/src/TournamentAnnouncement.js +++ /dev/null @@ -1,34 +0,0 @@ -import * as React from "react"; -import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; -import Appbar from './components/AsuraBar'; - -function Announcement() { - return ( -
- - -
- - -
- - - - -
- ); -} - -export default function TournamentAnnouncement() { - return ( - <> - - - - ); -}