Skip to content

Commit

Permalink
fix: unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Sep 19, 2024
1 parent d35c472 commit fcbc3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function Home() {
const [showNotifPlayed, setShowNotifPlayed] = useState<boolean>(false);
const [showErrorMsg, setShowErrorMsg] = useState<boolean>(false);
const [errorMsg, setErrorMsg] = useState<string>("");
const [_leaderboard, setLeaderboard] = useState<boolean>(false);
// const [leaderboard, setLeaderboard] = useState<boolean>(false);
const [maintenance, setMaintenance] = useState<boolean>(false);
const unexpectedError = isUnexpectedError();

Expand Down Expand Up @@ -185,7 +185,7 @@ export default function Home() {

useEffect(() => {
if (!isLoaded && process.env.NEXT_PUBLIC_ENABLE_LEADERBOARD === "true") {
setLeaderboard(true);
// setLeaderboard(true);
setIsLoaded(true);
}
}, []);
Expand Down

0 comments on commit fcbc3f0

Please sign in to comment.