Skip to content

Commit

Permalink
progress lable change
Browse files Browse the repository at this point in the history
  • Loading branch information
SENTHILnew committed Feb 5, 2024
1 parent ac5dc8f commit a1499a5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const TimerProgress: React.FC<TimerProgressProps> = ({
setProgress(timerValue * 1000);
}, [timerValue]);
const percentageProgress = (progress / milliseconds) * 100;
const progressLable = (progress / 1000).toFixed();
return (
<Box position='relative' display='inline-flex'>
<CircularProgress
Expand Down Expand Up @@ -73,10 +74,10 @@ export const TimerProgress: React.FC<TimerProgressProps> = ({
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
</Typography>
</Box>
</Box>
Expand Down

0 comments on commit a1499a5

Please sign in to comment.