Skip to content

Commit

Permalink
Logging error rather than displaying to user
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Jul 8, 2023
1 parent 92962c7 commit 1f3d7e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Game/Actions/PlayCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ const PlayCard = () => {
const playCard = useCallback(
(card: string) =>
dispatch(GameService.playCard(gameId!, card)).catch(e => {
enqueueSnackbar(parseError(e), {
variant: "error",
})
console.error(parseError(e))
}),
[gameId],
)
Expand Down

0 comments on commit 1f3d7e8

Please sign in to comment.