Update components/video-player/controls/SkipSegmentOverlay.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
lance chant
2026-07-17 11:51:37 +02:00
committed by GitHub
parent 15c66bc714
commit 228e847a4e

View File

@@ -48,7 +48,7 @@ const useDelayedHide = (value: boolean, duration: number): boolean => {
const t = setTimeout(() => setDisplay(false), duration);
return () => clearTimeout(t);
}, [value, duration]);
return display;
return value || display;
};
/**