Skip to content

Commit

Permalink
remove logs to the console
Browse files Browse the repository at this point in the history
  • Loading branch information
pelazas committed Apr 29, 2024
1 parent 89cdb17 commit 6bec372
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion webapp/src/components/game/PlayingGame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ const PlayingGame: FC<PlayingGameProps> = ({questions, setCurrentStage, setPlaye
const getAnswers = () => {
const answers = answersShuffled[currentQuestion];
if (answers.length > 4) {
console.log(answers)
const removeCount = answers.length - 4;
answers.splice(0, removeCount);
}
Expand Down
2 changes: 0 additions & 2 deletions webapp/src/components/game/multiplayer/GameMultiPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const GameMultiPlayer: FC<GameMultiPlayerProps> = () => {
setSocket(newSocket);

newSocket.on('partyCreated', (partyCode: string) => {
console.log(`Party created: ${partyCode}`);
setPartyCode(partyCode);
});

Expand All @@ -86,7 +85,6 @@ const GameMultiPlayer: FC<GameMultiPlayerProps> = () => {
});

newSocket.on('partyNotFound', () => {
console.log('Party not found');
});

newSocket.on('allPlayersFinished', handleAllPlayersFinished);
Expand Down
1 change: 0 additions & 1 deletion webapp/src/components/group/GroupTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export const GroupTable = (props: TableProps) => {
</TableHead>
<TableBody>
{members.map((member) => {
console.log(member + "added");
return (
<TableRow key={props.groupUUID}>
<TableCell>{member.username}</TableCell>
Expand Down

0 comments on commit 6bec372

Please sign in to comment.