From e40f07211f5f15dcb138e2520a76d13afd3c0cfd Mon Sep 17 00:00:00 2001
From: FifthWit <fifthwitbusiness@gmail.com>
Date: Thu, 30 Jan 2025 10:44:30 -0600
Subject: formatted with prettier

---
 frontend/src/components/GameEntry.tsx | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

(limited to 'frontend/src/components/GameEntry.tsx')

diff --git a/frontend/src/components/GameEntry.tsx b/frontend/src/components/GameEntry.tsx
index 3bd2842..b58bbdd 100644
--- a/frontend/src/components/GameEntry.tsx
+++ b/frontend/src/components/GameEntry.tsx
@@ -1,8 +1,8 @@
 import React from 'react';
-import { Link } from "react-router-dom";
+import { Link } from 'react-router-dom';
 
 import { Game, GameCategoryPortals } from '@customTypes/Game';
-import "@css/Games.css"
+import '@css/Games.css';
 
 import GameCategory from '@components/GameCategory';
 
@@ -18,17 +18,26 @@ const GameEntry: React.FC<GameEntryProps> = ({ game }) => {
   }, [game.category_portals]);
 
   return (
-    <Link to={"/games/" + game.id}><div className='games-page-item'>
-      <div className='games-page-item-header'>
-        <div style={{ backgroundImage: `url(${game.image})` }} className='games-page-item-header-img'></div>
-        <span><b>{game.name}</b></span>
+    <Link to={'/games/' + game.id}>
+      <div className="games-page-item">
+        <div className="games-page-item-header">
+          <div
+            style={{ backgroundImage: `url(${game.image})` }}
+            className="games-page-item-header-img"
+          ></div>
+          <span>
+            <b>{game.name}</b>
+          </span>
+        </div>
+        <div id={game.id as any as string} className="games-page-item-body">
+          {catInfo.map((cat, index) => {
+            return (
+              <GameCategory cat={cat} game={game} key={index}></GameCategory>
+            );
+          })}
+        </div>
       </div>
-      <div id={game.id as any as string} className='games-page-item-body'>
-        {catInfo.map((cat, index) => {
-          return <GameCategory cat={cat} game={game} key={index}></GameCategory>
-        })}
-      </div>
-    </div></Link>
+    </Link>
   );
 };
 
-- 
cgit v1.2.3

