feat(dashboard): variant details page (#7767)
* wip: setup * feat: finish inventory, prices section * feat: finish prices section pagination * fix: move edit variants to variants details, fix loader * fix: suggestion * feat: price editor flow
This commit is contained in:
@@ -174,6 +174,7 @@ export const useUpdateProductVariantsBatch = (
|
||||
}),
|
||||
onSuccess: (data: any, variables: any, context: any) => {
|
||||
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() })
|
||||
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.details() })
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: productsQueryKeys.detail(productId),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user