refactor: update to react 19 and remove NProgress element fixing multiple player instances in videoPlayer
This commit is contained in:
5 files changed
+442
-423
No files matched your search
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user