Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgio-tran committed Nov 12, 2023
1 parent a5194e4 commit 308d622
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions my-app/src/pages/event/[_id].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ const EventPage = () => {
if (loaded) return;
if (data) {
switch (data.status) {
case "Removal and Storage":
setCurrentStep(1);
break;
case "Sorting":
setCurrentStep(2);
break;
case "Disposal":
setCurrentStep(3);
break;
case "Complete":
setCurrentStep(4);
break;
default:
setCurrentStep(0);
case "Removal and Storage":
setCurrentStep(1);
break;
case "Sorting":
setCurrentStep(2);
break;
case "Disposal":
setCurrentStep(3);
break;
case "Complete":
setCurrentStep(4);
break;
default:
setCurrentStep(0);
}
setLoaded(true);
}
Expand Down

0 comments on commit 308d622

Please sign in to comment.