fix(core-flows, dashboard): products category batch issue (#9766)
FIXES CC-624
This commit is contained in:
1 parent
d40499ca6a
commit
853dd38044
2 files changed
+8
-2
No files matched your search
@@ -143,6 +143,10 @@ export const useUpdateProductCategoryProducts = (
|
||||
queryKey: productsQueryKeys.lists(),
|
||||
})
|
||||
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: productsQueryKeys.details(),
|
||||
})
|
||||
|
||||
options?.onSuccess?.(data, variables, context)
|
||||
},
|
||||
...options,
|
||||
|
||||
Reference in new issue
Block a user