Skip to content

Commit e9d18ba

Browse files
committed
2 parents e1e6088 + 705345f commit e9d18ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

front/src/pages/WaitingQueuePage/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ export default function WaitingQueuePage() {
109109
firstWaitingTime.current == null
110110
? 0
111111
: ((firstWaitingTime.current - waitingTime!) / firstWaitingTime.current!) * 100;
112-
const canGo = restCount !== null && restCount <= 0;
112+
113+
const canGo = restCount !== null && restCount < 0;
114+
113115
if (canGo) {
114116
if (eventId) {
115117
navigate(ROUTE_URL.EVENT.DETAIL(Number(eventId)), { replace: true });

0 commit comments

Comments
 (0)