From a1499a532451622d1a156f139613dd6c719c4f5e Mon Sep 17 00:00:00 2001 From: SENTHILnew Date: Mon, 5 Feb 2024 18:46:58 +0530 Subject: [PATCH] progress lable change --- .../Poker/GameController/TimerProgress/TimerProgress.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Poker/GameController/TimerProgress/TimerProgress.tsx b/src/components/Poker/GameController/TimerProgress/TimerProgress.tsx index d7e4e8c..3a67adb 100644 --- a/src/components/Poker/GameController/TimerProgress/TimerProgress.tsx +++ b/src/components/Poker/GameController/TimerProgress/TimerProgress.tsx @@ -44,6 +44,7 @@ export const TimerProgress: React.FC = ({ setProgress(timerValue * 1000); }, [timerValue]); const percentageProgress = (progress / milliseconds) * 100; + const progressLable = (progress / 1000).toFixed(); return ( = ({ component='div' color='textSecondary' className='progress-time-text' - title={(progress / 1000).toFixed() + ' Seconds'} + title={progressLable + ' Seconds'} data-testid='timer-seconds' > - {(progress / 1000).toFixed()}s + {progressLable}s