Skip to content

Commit

Permalink
fix(GameTeams): Init teams quantity
Browse files Browse the repository at this point in the history
  • Loading branch information
Baboo7 committed Mar 2, 2023
1 parent 2494039 commit 0552a7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function GameTeams({ game }: { game: IGame }): JSX.Element {
const gameId = useGameId();
const { t } = useTranslation();

const [teamsQuantity, setTeamsQuantity] = useState<number>();
const [teamsQuantity, setTeamsQuantity] = useState<number>(TEAM_COUNT_MIN);

const playersQuery = usePlayers(gameId);
const teamQueryPath = getTeamQueryPath(gameId);
Expand Down

0 comments on commit 0552a7a

Please sign in to comment.