This commit is contained in:
Fredrik Burmester
2024-10-06 15:11:06 +02:00
parent 0233862fc1
commit 862e783de1
8 changed files with 484 additions and 360 deletions

View File

@@ -63,7 +63,10 @@ export const PlayButton: React.FC<Props> = ({ item, url, ...props }) => {
}, [url]);
const onPress = async () => {
if (!url || !item) return;
if (!url || !item) {
console.warn("No URL or item provided to PlayButton");
return;
}
if (!client) {
router.push("/play-video");
return;