Skip to content

Commit

Permalink
Fix query invalidation/reset in tmdb linking, again. (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Sep 2, 2024
1 parent 168799f commit b508832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/collection/series/TmdbLinking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const TmdbLinking = () => {
});
}

resetQueries(['series', seriesId, 'tmdb']);
resetQueries(['series', seriesId]);
setLinkOverrides({});
toast.success('Links saved!');
} catch (error) {
Expand Down Expand Up @@ -216,7 +216,7 @@ const TmdbLinking = () => {
);
await Promise.all(newLinkMutations);

resetQueries(['series', seriesId, 'tmdb']);
resetQueries(['series', seriesId]);
setLinkOverrides({});
toast.success('Links saved!');
} catch (error) {
Expand Down

0 comments on commit b508832

Please sign in to comment.