Skip to content

Commit e3c19d8

Browse files
fix: update dependency in useEffect to include forIosLoading for accurate data fetching
1 parent 60bcb1b commit e3c19d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Screens/Comic/Details/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function ComicDetails({route, navigation}) {
9898
dispatch(fetchComicDetails(PageLink));
9999
}
100100
}
101-
}, [PageLink]);
101+
}, [PageLink, forIosLoading]);
102102

103103
if (error) return <Error error={error} />;
104104

0 commit comments

Comments
 (0)