Skip to content

Commit

Permalink
console.log instead of toast for commit and reveal
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Mushnin committed Apr 4, 2024
1 parent 1d50119 commit cab890a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/playing/BatterViewMobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const BatterViewMobile = ({
queryClient.refetchQueries("atBat");
},
onError: (e: Error) => {
toast("Commmit failed." + e?.message, "error");
console.log("Commit failed." + e?.message);
},
},
);
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/playing/PitcherViewMobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const PitcherViewMobile = ({
queryClient.refetchQueries("atBat");
},
onError: (e: Error) => {
toast("Commmit failed." + e?.message, "error");
console.log("Commmit failed." + e?.message);
},
},
);
Expand Down

0 comments on commit cab890a

Please sign in to comment.