diff --git a/src/components/global/VideoPlayer.tsx b/src/components/global/VideoPlayer.tsx
index 2d834b8..37b1ada 100644
--- a/src/components/global/VideoPlayer.tsx
+++ b/src/components/global/VideoPlayer.tsx
@@ -6,9 +6,11 @@ import { hosting } from "../../links";
import PlayIcon from "./PlayIcon";
// Types
-import { playerInterface } from "../../types/players";
+interface Props {
+ videoUrl: string;
+}
-const VideoPlayer = ({ videoUrl }: playerInterface) => {
+const VideoPlayer = ({ videoUrl }: Props) => {
return (
{
const [video, setVideo]: playerType = useState("");
- const [videoData, setVideoData]: any = useState();
+ const [videoData, setVideoData]: [Video[], React.Dispatch