We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c2582 commit ab6ffa6Copy full SHA for ab6ffa6
src/components/VideoPlayer.tsx
@@ -1,4 +1,5 @@
1
-import MuxPlayer, {type MuxPlayerProps, type MuxPlayerRefAttributes} from '@mux/mux-player-react'
+import {type MuxPlayerProps, type MuxPlayerRefAttributes} from '@mux/mux-player-react'
2
+import MuxPlayer from '@mux/mux-player-react/lazy'
3
import {ErrorOutlineIcon} from '@sanity/icons'
4
import {Card, Text} from '@sanity/ui'
5
import {type PropsWithChildren, useMemo, useRef} from 'react'
0 commit comments