Skip to content

Conversation

@x183
Copy link
Member

@x183 x183 commented Aug 17, 2023

Added a way to motivate reviews, shows reviews when viewing detailed game information.
fixes #79

@x183 x183 requested a review from Krysset August 17, 2023 09:31
Comment on lines +93 to +95
const Ratings = ({ gameId }: GameRatingsProps) => {
const { data, loading, error }: { data: Rating[] | null, loading: boolean | null, error: any | null }
= useApiGet("/rating/game/" + gameId);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This hook is supposed to be deprecated, we've moved on to React Query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

As a reviewer, I want to be able to give motivations to my ratings on games, so that people know why I voted the way I did

3 participants