From 653f581513fa2391ec143b75e76ae14931cc694c Mon Sep 17 00:00:00 2001 From: SimbaFs Date: Fri, 1 Mar 2024 23:59:13 +0800 Subject: [PATCH] fix build faild --- src/hooks/useFinished.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hooks/useFinished.ts b/src/hooks/useFinished.ts index d2c5b29..ecb1972 100644 --- a/src/hooks/useFinished.ts +++ b/src/hooks/useFinished.ts @@ -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]);