Skip to content

Commit

Permalink
remove unused clearinterval
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf committed Jul 13, 2023
1 parent d7fc6b3 commit c75841b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function Start() {
const appState = useRef(AppState.currentState);

let refreshInterval;
let updateInterval;

useEffect(() => {
if (!loaded) return;
Expand All @@ -94,7 +93,6 @@ function Start() {
) {
writeToLog("Ending refresh interval.");
clearInterval(refreshInterval);
clearInterval(updateInterval);
refreshInterval = null;
}

Expand Down

0 comments on commit c75841b

Please sign in to comment.