Remove re-fetching of manga query on chapter update (#449)
The mutation returns the mutated manga, thus, updating the cache which makes this refetch unnecessary and just creates redundant requests.
This commit is contained in:
@@ -1425,7 +1425,7 @@ export class RequestManager {
|
||||
GQLMethod.MUTATION,
|
||||
UPDATE_CHAPTER,
|
||||
{ input: { id, patch } },
|
||||
{ refetchQueries: [GET_MANGA], ...options },
|
||||
options,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user