Skip to content

Commit

Permalink
Remove emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed May 24, 2024
1 parent ed3fdec commit b5f1de4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/berlin/src/pages/Cycle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ function Cycle() {

useEffect(() => {
if (cycle?.status === 'CLOSED') {
toast('Agenda has closed. Redirecting to results.', {
icon: '⌛️',
});
toast('Agenda has closed. Redirecting to results.');
navigate(`/events/${eventId}/cycles/${cycleId}/results`);
}
}, [cycle?.status]);

Check warning on line 82 in packages/berlin/src/pages/Cycle.tsx

View workflow job for this annotation

GitHub Actions / Check linting

React Hook useEffect has missing dependencies: 'cycleId', 'eventId', and 'navigate'. Either include them or remove the dependency array
Expand Down

0 comments on commit b5f1de4

Please sign in to comment.