Skip to content

Commit

Permalink
Merge pull request #1313 from canalplus/bugfix-demo-wrong-time-in-pro…
Browse files Browse the repository at this point in the history
…gressbar

fix(demo): live content had wrong values on the progress bar
  • Loading branch information
peaBerberian authored Nov 10, 2023
2 parents 461a104 + f3f9987 commit 2a9efe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/full/scripts/controllers/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function ProgressBar({
setTimeIndicatorVisible(true);
setTimeIndicatorPosition(clientX);
setTimeIndicatorText(currentReadableTime);
}, []);
}, [isLive]);

const hideTimeIndicator = React.useCallback((): void => {
setTimeIndicatorVisible(false);
Expand Down

0 comments on commit 2a9efe7

Please sign in to comment.