Skip to content

Commit

Permalink
Fix formatting in comp index
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodellosso committed Feb 13, 2025
1 parent 574ec73 commit ea4dd05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/[teamSlug]/[seasonSlug]/[competitonSlug]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,10 @@ export default function CompetitionIndex({
setMatchBeingEdited(match._id);
}

const loadMatchesInterval = useCallback(() => loadMatches(true), [loadMatches]);
const loadMatchesInterval = useCallback(
() => loadMatches(true),
[loadMatches],
);
useInterval(loadMatchesInterval, 5000);

function togglePublicData(e: ChangeEvent<HTMLInputElement>) {
Expand Down

0 comments on commit ea4dd05

Please sign in to comment.