refactor: update to react 19 and remove NProgress element fixing multiple player instances in videoPlayer

This commit is contained in:
Prayag Prajapati committed 2025-04-25 21:43:24 +05:30
1 parent 80080e841a
commit 18ebe4ef1e
5 files changed
+442 -423

No files matched your search

+2 -3
View File
@@ -21,7 +21,7 @@ export default function NProgress() {
isAnimating,
});
return createPortal(
return (
<div
style={{
pointerEvents: "none",
@@ -44,8 +44,7 @@ export default function NProgress() {
variant="determinate"
/>
)}
</div>,
document.body,
</div>
);
};