mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 06:12:18 +00:00
hook dependencies
This commit is contained in:
1 parent
ee5971db02
commit
ff0a83811a
1 file changed
+1
-1
@@ -115,7 +115,7 @@ export default memo(function VideoQuickTrim({
|
||||
node.onended = ()=>{setPlaypause("ended");};
|
||||
|
||||
} // else{} DOM node referenced by ref has been unmounted
|
||||
}, [playbarWidth, onSelect, isRepeatOn, trimEnd]); //END videoRefCallback
|
||||
}, [playbarWidth, onSelect, isRepeatOn, trimStart, trimEnd]); //END videoRefCallback
|
||||
|
||||
function handleWindowResize() {
|
||||
if (playbarRef.current !== null) {
|
||||
|
||||
Reference in new issue
Block a user