diff options
| author | realtradam <[email protected]> | 2024-06-29 18:30:20 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-06-29 18:30:20 -0400 |
| commit | 2a8545f11267de06447b3c56d8beca8d27596dab (patch) | |
| tree | e9e4aaf0ed2436d3ca31114c739194dd351e8d09 /react-frontend/src/components/GameCard.tsx | |
| parent | 95088f3fdd3f593d486b55e3840cee0dbc1a5051 (diff) | |
| download | gameHolster-dev.tar.gz gameHolster-dev.zip | |
work on rendering gamesdev
Diffstat (limited to 'react-frontend/src/components/GameCard.tsx')
| -rw-r--r-- | react-frontend/src/components/GameCard.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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 }; |
