refactor: move video player routes onto their own dir

This commit is contained in:
Adrian Castro
2024-02-12 22:01:02 +01:00
parent 239d201d9f
commit 26e896b647
3 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import {
} from "@movie-web/provider-utils"; } from "@movie-web/provider-utils";
import { fetchMediaDetails } from "@movie-web/tmdb"; import { fetchMediaDetails } from "@movie-web/tmdb";
import type { VideoPlayerData } from "./videoPlayer"; import type { VideoPlayerData } from ".";
import type { ItemData } from "~/components/item/item"; import type { ItemData } from "~/components/item/item";
import ScreenLayout from "~/components/layout/ScreenLayout"; import ScreenLayout from "~/components/layout/ScreenLayout";

View File

@@ -17,7 +17,7 @@ export default function Item({ data }: { data: ItemData }) {
const handlePress = () => { const handlePress = () => {
router.push({ router.push({
pathname: "/loading", pathname: "/videoPlayer/loading",
params: { data: JSON.stringify(data) }, params: { data: JSON.stringify(data) },
}); });
}; };