Skip to content

Commit c9f64f5

Browse files
committed
Merge branch 'refs/heads/dev'
2 parents e014eb7 + 67d05b6 commit c9f64f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

front/src/pages/WaitingQueuePage/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ import { useSuspenseQuery } from '@tanstack/react-query';
2121

2222
/*
2323
이 페이지는 예매 대기 페이지에서 진입된다. 거기에 이벤트 정보가 있다 .
24-
params의 이벤트 재호출 보다는 reactrouter 의 state를 이요하거나, react query의 cache를 이용하자
24+
params의 이벤트 재호출 보다는 reactrouter 의 state를 이요하거나, react query의 cache를 이용하자
2525
2626
27-
편의성을 위해서 캐싱된 데이터 이용
27+
편의성을 위해서 캐싱된 데이터 이용
2828
2929
progressbar를 어떻게 계산?
30-
첫 예상 시간을 받고
30+
첫 예상 시간을 받고
3131
TODO sse 커스텀 훅으로 변경
3232
*/
3333
export default function WaitingQueuePage() {
@@ -96,7 +96,7 @@ export default function WaitingQueuePage() {
9696
title: '대기 인원',
9797
content: (
9898
<span className="text-heading3 text-typo">
99-
<span className="text-warning">{totalWaiting}</span>
99+
<span className="text-warning">{totalWaiting}</span>
100100
</span>
101101
),
102102
},
@@ -112,7 +112,7 @@ export default function WaitingQueuePage() {
112112
? 0
113113
: ((firstWaitingTime.current - waitingTime!) / firstWaitingTime.current!) * 100;
114114

115-
const canGo = restCount !== null && restCount < 0;
115+
const canGo = restCount !== null && restCount <= 0;
116116

117117
if (canGo) {
118118
if (eventId) {

0 commit comments

Comments
 (0)