From 1953305b197e33ce905e83076acff84fb01ee23b Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:55:03 +0300 Subject: frontend: fix return to game button --- frontend/src/components/Loading.tsx | 11 ----------- frontend/src/pages/Maps.tsx | 5 ++--- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 frontend/src/components/Loading.tsx (limited to 'frontend') diff --git a/frontend/src/components/Loading.tsx b/frontend/src/components/Loading.tsx deleted file mode 100644 index b7973f1..0000000 --- a/frontend/src/components/Loading.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; - -const Loading: React.FC = () => { - - return ( - - ); - -}; - -export default Loading; diff --git a/frontend/src/pages/Maps.tsx b/frontend/src/pages/Maps.tsx index 9862cbb..915b5f8 100644 --- a/frontend/src/pages/Maps.tsx +++ b/frontend/src/pages/Maps.tsx @@ -9,7 +9,6 @@ import ModMenu from '../components/ModMenu'; import { MapDiscussions, MapLeaderboard, MapSummary } from '../types/Map'; import { API } from '../api/Api'; import "../css/Maps.css"; -import Loading from '../components/Loading'; interface MapProps { token?: string; @@ -67,7 +66,7 @@ const Maps: React.FC = ({ token, isModerator }) => { Discussions - + ); } @@ -83,7 +82,7 @@ const Maps: React.FC = ({ token, isModerator }) => { Games List - {mapSummaryData.map.chapter_name} + {mapSummaryData.map.chapter_name} {mapSummaryData.map.map_name} -- cgit v1.2.3