Skip to content

Commit 4b22083

Browse files
committed
πŸ’„ style:남은 μ‹œκ°„ ν˜•μ‹ λ³€κ²½
Issue Resolved: #
1 parent f5f73cd commit 4b22083

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
@@ -54,6 +54,8 @@ export default function WaitingQueuePage() {
5454
const restCount = headOrder ? myOrder - headOrder + 1 : null;
5555
const waitingTime = headOrder ? Math.floor(restCount! / (throughputRate! / 1000)) : null;
5656

57+
const restTimeText = waitingTime == null || waitingTime < 100 ? `1λΆ„ 이내` : `${waitingTime} 초`;
58+
5759
useEffect(() => {
5860
if (!myOrder || !eventId) {
5961
//TODO toast
@@ -101,7 +103,7 @@ export default function WaitingQueuePage() {
101103
{
102104
icon: <Icon iconName="Clock" />,
103105
title: 'μ˜ˆμƒ λŒ€κΈ° μ‹œκ°„',
104-
content: <span className="text-heading3 text-typo">{`${waitingTime} 초`}</span>,
106+
content: <span className="text-heading3 text-typo">{restTimeText}</span>,
105107
},
106108
];
107109

0 commit comments

Comments
Β (0)