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/GameCategory.tsx | 37 +++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 15 deletions(-)

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

diff --git a/frontend/src/components/GameCategory.tsx b/frontend/src/components/GameCategory.tsx
index d8879ef..b13be48 100644
--- a/frontend/src/components/GameCategory.tsx
+++ b/frontend/src/components/GameCategory.tsx
@@ -1,24 +1,31 @@
 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';
 
 interface GameCategoryProps {
-    game: Game;
-    cat: GameCategoryPortals;
+  game: Game;
+  cat: GameCategoryPortals;
 }
 
-const GameCategory: React.FC<GameCategoryProps> = ({cat, game}) => {
-    return (
-        <Link className="games-page-item-body-item" to={"/games/" + game.id + "?cat=" + cat.category.id}>
-        <div>
-              <span className='games-page-item-body-item-title'>{cat.category.name}</span>
-              <br />
-              <span className='games-page-item-body-item-num'>{cat.portal_count}</span>
-        </div>
-        </Link>
-    )
-}
+const GameCategory: React.FC<GameCategoryProps> = ({ cat, game }) => {
+  return (
+    <Link
+      className="games-page-item-body-item"
+      to={'/games/' + game.id + '?cat=' + cat.category.id}
+    >
+      <div>
+        <span className="games-page-item-body-item-title">
+          {cat.category.name}
+        </span>
+        <br />
+        <span className="games-page-item-body-item-num">
+          {cat.portal_count}
+        </span>
+      </div>
+    </Link>
+  );
+};
 
 export default GameCategory;
-- 
cgit v1.2.3

