Skip to content

Commit

Permalink
change toast warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonk19 committed Aug 26, 2022
1 parent 94fb862 commit 0182645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Scoring/Scoring.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const Scoring = () => {
setLoading(true);
if (!search) {
setLoading(false);
toast.warning('Enter the search box');
toast.warning('Search box not filled');
return;
}
await unitService.findParticipant(
Expand All @@ -91,7 +91,7 @@ export const Scoring = () => {

const handleScore = async () => {
if (!giveScore) {
toast.warning('Enter a score to give');
toast.warning('Score box not filled');
return;
}
await unitService.updateScore(
Expand Down

0 comments on commit 0182645

Please sign in to comment.