Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zineanteoh authored and JiashuHarryHuang committed Oct 7, 2023
1 parent c7cbdb0 commit 61a922b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/hacker/HackerDash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,6 @@ export default function HackerDash({ userApplicationStatus, setUserApplicationSt
});
};

const hasHackthonStarted = (): boolean => {
const startDate = new Date(process.env.NEXT_PUBLIC_START_DATE || '');
const curDate = new Date();
return curDate >= startDate;
};

useEffect(() => {
if (user?.applicationStatus) setUserApplicationStatus(user.applicationStatus);
getJudgingSessionData();
Expand Down

0 comments on commit 61a922b

Please sign in to comment.