Skip to content

Commit

Permalink
fix build faild
Browse files Browse the repository at this point in the history
  • Loading branch information
simbafs committed Mar 1, 2024
1 parent bee94aa commit 653f581
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/hooks/useFinished.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export function useFinished(token: string) {

useEffect(() => {
getPlayerPuzzle(token).then((data) => {
if (data == "Invalid token, please try again after checkin.") {
return;
}
setFinished(data.deliverers.map((d: any) => d.deliverer));
});
}, [token]);
Expand Down

0 comments on commit 653f581

Please sign in to comment.