Apply suggestions from code review
Co-Authored-By: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
This commit is contained in:
parent
61a989a061
commit
1b7eac3596
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ const ProductVariantCreatorContent: React.FC<ProductVariantCreatorContentProps>
|
||||||
: ProductVariantCreateReducerActionType.applyStockToAll
|
: ProductVariantCreateReducerActionType.applyStockToAll
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// Stock change is not fixed in this PR so we wo't include it here
|
// TODO: Stock change is not fixed in this PR so we won't include it here
|
||||||
onApplyToAllChange={(price, type) =>
|
onApplyToAllChange={(price, type) =>
|
||||||
dispatchFormDataAction(
|
dispatchFormDataAction(
|
||||||
type === "price" && {
|
type === "price" && {
|
||||||
|
@ -98,7 +98,7 @@ const ProductVariantCreatorContent: React.FC<ProductVariantCreatorContentProps>
|
||||||
: ProductVariantCreateReducerActionType.changeApplyStockToAttributeId
|
: ProductVariantCreateReducerActionType.changeApplyStockToAttributeId
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// Stock change is not fixed in this PR so we wo't include it here
|
// TODO: Stock change is not fixed in this PR so we won't include it here
|
||||||
onAttributeValueChange={(valueId, price, type) =>
|
onAttributeValueChange={(valueId, price, type) =>
|
||||||
dispatchFormDataAction(
|
dispatchFormDataAction(
|
||||||
type === "price" && {
|
type === "price" && {
|
||||||
|
|
Loading…
Reference in a new issue