update peer dependencies

This commit is contained in:
PhilReact 2025-06-30 21:06:05 +03:00
parent 0933cb33ae
commit 9e6c1b2bb5
4 changed files with 854 additions and 578 deletions

1424
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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) {

View File

@ -9,6 +9,7 @@ export default defineConfig({
'@mui/material',
'@mui/system',
'@emotion/react',
'@emotion/styled'
'@emotion/styled',
'react-dom', 'react-router-dom'
],
});