fix(dashboard): variants list query key (#7354)
This commit is contained in:
1 parent
31648b12ca
commit
df8f4169e5
3 files changed
+7
-6
No files matched your search
@@ -110,7 +110,7 @@ export const useProductVariants = (
|
||||
) => {
|
||||
const { data, ...rest } = useQuery({
|
||||
queryFn: () => client.products.listVariants(productId, query),
|
||||
queryKey: variantsQueryKeys.list(query),
|
||||
queryKey: variantsQueryKeys.list({ productId, ...query }),
|
||||
...options,
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user