mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-01-11 03:02:56 -05:00
switch back to lazy react-player
This commit is contained in:
@@ -3,7 +3,7 @@ import type { ReactPlayerProps } from "react-player";
|
|||||||
|
|
||||||
import styles from "./Video.module.scss";
|
import styles from "./Video.module.scss";
|
||||||
|
|
||||||
const ReactPlayer = dynamic(() => import("react-player"));
|
const ReactPlayer = dynamic(() => import("react-player/lazy"));
|
||||||
|
|
||||||
const Video = (props: ReactPlayerProps) => (
|
const Video = (props: ReactPlayerProps) => (
|
||||||
<div className={styles.wrapper}>
|
<div className={styles.wrapper}>
|
||||||
|
|||||||
Reference in New Issue
Block a user