1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-01-10 15:42:58 -05:00

switch back to lazy react-player

This commit is contained in:
2022-01-05 15:16:12 -05:00
parent 2d44b58242
commit b29a2b8756

View File

@@ -3,7 +3,7 @@ import type { ReactPlayerProps } from "react-player";
import styles from "./Video.module.scss";
const ReactPlayer = dynamic(() => import("react-player"));
const ReactPlayer = dynamic(() => import("react-player/lazy"));
const Video = (props: ReactPlayerProps) => (
<div className={styles.wrapper}>