much lint very lint

This commit is contained in:
Jorrin
2024-03-22 19:59:37 +01:00
parent 50a46b1e08
commit 974eeb73b1
2 changed files with 2 additions and 7 deletions

View File

@@ -81,14 +81,12 @@ const EmbedsPart = ({
const theme = useTheme();
const { data, isPending, isError, error, status } = useSourceScrape(sourceId);
console.log(data);
useEffect(() => {
if (status === "success" && !isError && data && data?.length <= 1) {
props.onOpenChange?.(false);
closeParent?.(false);
}
}, [props.onOpenChange, status, data, isError]);
}, [status, data, isError, props, closeParent]);
return (
<Settings.Sheet

View File

@@ -5,11 +5,8 @@ import { Dimensions, Platform } from "react-native";
import { Gesture, GestureDetector } from "react-native-gesture-handler";
import Animated, {
runOnJS,
useAnimatedProps,
useAnimatedStyle,
useDerivedValue,
useSharedValue,
withTiming,
} from "react-native-reanimated";
import { ResizeMode, Video } from "expo-av";
import * as Haptics from "expo-haptics";
@@ -17,7 +14,7 @@ import * as NavigationBar from "expo-navigation-bar";
import { useRouter } from "expo-router";
import * as StatusBar from "expo-status-bar";
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";