More changes

This commit is contained in:
Belen Curcio
2020-11-05 18:41:54 -03:00
parent dbc0091732
commit 3b5ac2df1f
3 changed files with 36 additions and 32 deletions

View File

@@ -97,15 +97,17 @@ const CartItem = ({
<button type="button" onClick={() => increaseQuantity(-1)}>
<Minus width={18} height={18} />
</button>
<input
type="number"
max={99}
min={0}
className={s.quantity}
value={quantity}
onChange={handleQuantity}
onBlur={handleBlur}
/>
<label>
<input
type="number"
max={99}
min={0}
className={s.quantity}
value={quantity}
onChange={handleQuantity}
onBlur={handleBlur}
/>
</label>
<button type="button" onClick={() => increaseQuantity(1)}>
<Plus width={18} height={18} />
</button>