Skip to content

Commit

Permalink
fix: invalidate taxonomyDetail query
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Dec 8, 2023
1 parent 6a55c6f commit 1119041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/taxonomy/import-tags/data/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ export const useImportTags = () => {
queryClient.invalidateQueries({
queryKey: ['tagList', variables.taxonomyId],
});
queryClient.invalidateQueries({
queryKey: ['taxonomyDetail', variables.taxonomyId],
});
},
});
};
Expand Down

0 comments on commit 1119041

Please sign in to comment.