Skip to content

Commit

Permalink
Merge branch 'reefscape' of https://github.com/Decatur-Robotics/Gearbox
Browse files Browse the repository at this point in the history
… into reefscape
  • Loading branch information
Tr01ler committed Feb 13, 2025
2 parents 7a5e5c1 + d9c85db commit c57c989
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 c57c989

Please sign in to comment.