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/pages/Maps.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'frontend/src/pages/Maps.tsx')

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<MapProps> = ({ token, isModerator }) => {
           <button className='nav-button'><img src={ChatIcon} alt="" /><span>Discussions</span></button>
         </section>
 
-        <Loading />
+        <section id='section6' className='summary2' />
       </main>
     );
   }
@@ -83,7 +82,7 @@ const Maps: React.FC<MapProps> = ({ token, isModerator }) => {
         <section id='section1' className='summary1'>
           <div>
             <Link to="/games"><button className='nav-button' style={{ borderRadius: "20px 0px 0px 20px" }}><i className='triangle'></i><span>Games List</span></button></Link>
-            <Link to={`/games/${mapSummaryData.map.is_coop ? "1" : "2"}?chapter=${mapSummaryData.map.chapter_name.split(" ")[1]}`}><button className='nav-button' style={{ borderRadius: "0px 20px 20px 0px", marginLeft: "2px" }}><i className='triangle'></i><span>{mapSummaryData.map.chapter_name}</span></button></Link>
+            <Link to={`/games/${mapSummaryData.map.is_coop ? "2" : "1"}?chapter=${mapSummaryData.map.chapter_name.split(" ")[1]}`}><button className='nav-button' style={{ borderRadius: "0px 20px 20px 0px", marginLeft: "2px" }}><i className='triangle'></i><span>{mapSummaryData.map.chapter_name}</span></button></Link>
             <br /><span><b>{mapSummaryData.map.map_name}</b></span>
           </div>
         </section>
-- 
cgit v1.2.3

