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:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user