fix(core-flows, dashboard): products category batch issue (#9766)
FIXES CC-624
This commit is contained in:
@@ -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