docs: fixes to type errors in guides (#13797)

This commit is contained in:
Shahed Nasser
2025-10-21 16:12:35 +03:00
committed by GitHub
parent d9249be6e6
commit 0d83918348
19 changed files with 922 additions and 682 deletions
@@ -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))}
/>