Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions components/features/cart-drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export function CartDrawer() {
size="icon"
className="h-7 w-7 rounded-none"
onClick={() => updateQuantity(item.id, item.size, item.quantity - 1, item.color, item.comboGroupId)}
aria-label="Decrease quantity"
>
<Minus className="h-3 w-3" />
</Button>
Expand All @@ -126,6 +127,7 @@ export function CartDrawer() {
size="icon"
className="h-7 w-7 rounded-none"
onClick={() => updateQuantity(item.id, item.size, item.quantity + 1, item.color, item.comboGroupId)}
aria-label="Increase quantity"
>
<Plus className="h-3 w-3" />
</Button>
Expand All @@ -136,6 +138,7 @@ export function CartDrawer() {
size="icon"
className="h-7 w-7 self-start text-muted-foreground hover:text-foreground"
onClick={() => removeItem(item.id, item.size, item.color, item.comboGroupId)}
aria-label="Remove item"
>
<X className="h-3.5 w-3.5" />
</Button>
Expand Down