mirror of
https://github.com/Qortal/qapp-core.git
synced 2025-07-12 12:21:24 +00:00
update peer dependencies
This commit is contained in:
parent
0933cb33ae
commit
9e6c1b2bb5
1424
package-lock.json
generated
1424
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "qapp-core",
|
||||
"version": "1.0.37",
|
||||
"version": "1.0.39",
|
||||
"description": "Qortal's core React library with global state, UI components, and utilities",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
|
@ -319,6 +319,7 @@ export const VideoPlayer = ({
|
||||
useVideoPlayerHotKeys(hotkeyHandlers);
|
||||
|
||||
const updateProgress = useCallback(() => {
|
||||
if(!isPlaying) return
|
||||
const player = playerRef?.current;
|
||||
if (!player || typeof player?.currentTime !== "function") return;
|
||||
|
||||
@ -327,7 +328,7 @@ export const VideoPlayer = ({
|
||||
setProgress(videoLocation, currentTime);
|
||||
setLocalProgress(currentTime);
|
||||
}
|
||||
}, [videoLocation]);
|
||||
}, [videoLocation, isPlaying]);
|
||||
|
||||
useEffect(() => {
|
||||
if (videoLocation) {
|
||||
|
@ -9,6 +9,7 @@ export default defineConfig({
|
||||
'@mui/material',
|
||||
'@mui/system',
|
||||
'@emotion/react',
|
||||
'@emotion/styled'
|
||||
'@emotion/styled',
|
||||
'react-dom', 'react-router-dom'
|
||||
],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user