From 2a8545f11267de06447b3c56d8beca8d27596dab Mon Sep 17 00:00:00 2001
From: realtradam <github@tradam.dev>
Date: Sat, 29 Jun 2024 18:30:20 -0400
Subject: work on rendering games

---
 react-frontend/src/components/GameCard.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'react-frontend/src/components/GameCard.tsx')

diff --git a/react-frontend/src/components/GameCard.tsx b/react-frontend/src/components/GameCard.tsx
index 4367977..35bae57 100644
--- a/react-frontend/src/components/GameCard.tsx
+++ b/react-frontend/src/components/GameCard.tsx
@@ -6,6 +6,7 @@ export type Tag = {
 	tag_type: string,
 	name: string,
 };
+export type BasicUser = { id: number, user_name: string };
 export type GameType = {
 	id: number,
 	title: string,
@@ -17,11 +18,11 @@ export type GameType = {
 	order: number,
 	created_at: string,
 	updated_at: string,
-	user_id: number,
 	tags: Tag[],
 	card_img: string,
 	char_img: string,
 	title_img: string,
+	user: BasicUser,
 };
 export type GameCardProps = { link: string, game: GameType };
 
-- 
cgit v1.2.3

