mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
much lint very lint
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user