Update dependency "apollo-client" to v4.x
v4.1.6
This commit is contained in:
@@ -49,6 +49,10 @@ const removeNonLibraryMangasFromCategories = async (): Promise<void> => {
|
||||
{ fetchPolicy: 'no-cache' },
|
||||
).response;
|
||||
|
||||
if (!nonLibraryMangas.data) {
|
||||
return;
|
||||
}
|
||||
|
||||
const mangaIdsToRemove = Mangas.getIds(nonLibraryMangas.data.mangas.nodes);
|
||||
|
||||
if (mangaIdsToRemove.length) {
|
||||
|
||||
Reference in New Issue
Block a user