docs: fixes to type errors in guides (#13797)
This commit is contained in:
@@ -1542,7 +1542,7 @@ return (
|
||||
placeholder="Quantity"
|
||||
type="number"
|
||||
min="1"
|
||||
max={selectedVariant?.inventory_quantity}
|
||||
max={selectedVariant?.inventory_quantity || undefined}
|
||||
value={quantity}
|
||||
onChange={(e) => setQuantity(parseInt(e.target.value))}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user