Compare commits

..

1 Commits

Author SHA1 Message Date
Adrian Castro
21e34f9212 Merge 7b17b2c103 into a3f184979e 2024-04-13 20:38:36 +00:00
2 changed files with 1 additions and 6 deletions

View File

@@ -9,6 +9,5 @@
], ],
"updateInternalDeps": true, "updateInternalDeps": true,
"rangeStrategy": "bump", "rangeStrategy": "bump",
"includeForks": true,
"automerge": true "automerge": true
} }

View File

@@ -1,4 +1,4 @@
import { useEffect, useMemo } from "react"; import { useMemo } from "react";
import { Stack, useLocalSearchParams, useRouter } from "expo-router"; import { Stack, useLocalSearchParams, useRouter } from "expo-router";
import { YStack } from "tamagui"; import { YStack } from "tamagui";
@@ -21,10 +21,6 @@ export default function Page() {
return allDownloads.find((download) => download.media.tmdbId === tmdbId); return allDownloads.find((download) => download.media.tmdbId === tmdbId);
}, [allDownloads, tmdbId]); }, [allDownloads, tmdbId]);
useEffect(() => {
if (!download) router.back();
}, [download, router]);
const handlePress = (localPath?: string) => { const handlePress = (localPath?: string) => {
if (!localPath) return; if (!localPath) return;
resetVideo(); resetVideo();