mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:33:26 +00:00
much lint very lint
This commit is contained in:
@@ -81,14 +81,12 @@ const EmbedsPart = ({
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { data, isPending, isError, error, status } = useSourceScrape(sourceId);
|
const { data, isPending, isError, error, status } = useSourceScrape(sourceId);
|
||||||
|
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (status === "success" && !isError && data && data?.length <= 1) {
|
if (status === "success" && !isError && data && data?.length <= 1) {
|
||||||
props.onOpenChange?.(false);
|
props.onOpenChange?.(false);
|
||||||
closeParent?.(false);
|
closeParent?.(false);
|
||||||
}
|
}
|
||||||
}, [props.onOpenChange, status, data, isError]);
|
}, [status, data, isError, props, closeParent]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Settings.Sheet
|
<Settings.Sheet
|
||||||
|
@@ -5,11 +5,8 @@ import { Dimensions, Platform } from "react-native";
|
|||||||
import { Gesture, GestureDetector } from "react-native-gesture-handler";
|
import { Gesture, GestureDetector } from "react-native-gesture-handler";
|
||||||
import Animated, {
|
import Animated, {
|
||||||
runOnJS,
|
runOnJS,
|
||||||
useAnimatedProps,
|
|
||||||
useAnimatedStyle,
|
useAnimatedStyle,
|
||||||
useDerivedValue,
|
|
||||||
useSharedValue,
|
useSharedValue,
|
||||||
withTiming,
|
|
||||||
} from "react-native-reanimated";
|
} from "react-native-reanimated";
|
||||||
import { ResizeMode, Video } from "expo-av";
|
import { ResizeMode, Video } from "expo-av";
|
||||||
import * as Haptics from "expo-haptics";
|
import * as Haptics from "expo-haptics";
|
||||||
@@ -17,7 +14,7 @@ import * as NavigationBar from "expo-navigation-bar";
|
|||||||
import { useRouter } from "expo-router";
|
import { useRouter } from "expo-router";
|
||||||
import * as StatusBar from "expo-status-bar";
|
import * as StatusBar from "expo-status-bar";
|
||||||
import { Feather } from "@expo/vector-icons";
|
import { Feather } from "@expo/vector-icons";
|
||||||
import { Progress, Spinner, Text, useTheme, View } from "tamagui";
|
import { Spinner, useTheme, View } from "tamagui";
|
||||||
|
|
||||||
import { findHighestQuality } from "@movie-web/provider-utils";
|
import { findHighestQuality } from "@movie-web/provider-utils";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user