File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
front/src/pages/WaitingQueuePage Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff 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
You canβt perform that action at this time.
0 commit comments