From e40f07211f5f15dcb138e2520a76d13afd3c0cfd Mon Sep 17 00:00:00 2001 From: FifthWit 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 = ({ game }) => { }, [game.category_portals]); return ( -
-
-
- {game.name} + +
+
+
+ + {game.name} + +
+
+ {catInfo.map((cat, index) => { + return ( + + ); + })} +
-
- {catInfo.map((cat, index) => { - return - })} -
-
+ ); }; -- cgit v1.2.3