Skip to content

Commit

Permalink
feat: optimize video player import to use lazy loading in Video compo…
Browse files Browse the repository at this point in the history
…nent (#235)
  • Loading branch information
typeWolffo authored Nov 20, 2024
1 parent b307deb commit eadffba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useParams } from "@remix-run/react";
import ReactPlayer from "react-player";
import ReactPlayer from "react-player/lazy";

import { useMarkLessonItemAsCompleted } from "~/api/mutations/useMarkLessonItemAsCompleted";

Expand Down

0 comments on commit eadffba

Please sign in to comment.