mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 15:03:26 +00:00
refactor: move video player routes onto their own dir
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
} from "@movie-web/provider-utils";
|
||||
import { fetchMediaDetails } from "@movie-web/tmdb";
|
||||
|
||||
import type { VideoPlayerData } from "./videoPlayer";
|
||||
import type { VideoPlayerData } from ".";
|
||||
import type { ItemData } from "~/components/item/item";
|
||||
import ScreenLayout from "~/components/layout/ScreenLayout";
|
||||
|
@@ -17,7 +17,7 @@ export default function Item({ data }: { data: ItemData }) {
|
||||
|
||||
const handlePress = () => {
|
||||
router.push({
|
||||
pathname: "/loading",
|
||||
pathname: "/videoPlayer/loading",
|
||||
params: { data: JSON.stringify(data) },
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user