From 111904180de7951ec038b272cae5711c62ce8962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Fri, 8 Dec 2023 08:45:12 -0300 Subject: [PATCH] fix: invalidate taxonomyDetail query --- src/taxonomy/import-tags/data/api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/taxonomy/import-tags/data/api.js b/src/taxonomy/import-tags/data/api.js index baf87bac03..502b96db03 100644 --- a/src/taxonomy/import-tags/data/api.js +++ b/src/taxonomy/import-tags/data/api.js @@ -79,6 +79,9 @@ export const useImportTags = () => { queryClient.invalidateQueries({ queryKey: ['tagList', variables.taxonomyId], }); + queryClient.invalidateQueries({ + queryKey: ['taxonomyDetail', variables.taxonomyId], + }); }, }); };