From abb92726ab68e2cd3e038a3f453a57e296177fe0 Mon Sep 17 00:00:00 2001 From: David Granado Date: Wed, 2 Mar 2022 20:25:14 -0600 Subject: [PATCH] Rename variable to include value units --- ui/component/viewers/videoViewer/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/viewers/videoViewer/view.jsx b/ui/component/viewers/videoViewer/view.jsx index 806ae33ce..4aa119ea9 100644 --- a/ui/component/viewers/videoViewer/view.jsx +++ b/ui/component/viewers/videoViewer/view.jsx @@ -31,7 +31,7 @@ import useInterval from 'effects/use-interval'; // const PLAY_TIMEOUT_ERROR = 'play_timeout_error'; // const PLAY_TIMEOUT_LIMIT = 2000; -const PLAY_POSITION_SAVE_INTERVAL = 15000; +const PLAY_POSITION_SAVE_INTERVAL_MS = 15000; type Props = { position: number, @@ -153,7 +153,7 @@ function VideoViewer(props: Props) { if (playerRef.current && isPlaying) { handlePosition(playerRef.current); } - }, PLAY_POSITION_SAVE_INTERVAL); + }, PLAY_POSITION_SAVE_INTERVAL_MS); const updateVolumeState = React.useCallback( debounce((volume, muted) => {