fix: style

This commit is contained in:
2026-03-23 10:12:55 +01:00
parent 12e9e49f9b
commit 0853424c4e
11 changed files with 110 additions and 38 deletions

View File

@@ -65,6 +65,7 @@ export const useCartStore = defineStore('cart', () => {
}
}
function removeItem(itemId: number) {
const index = items.value.findIndex(i => i.id === itemId)
if (index !== -1) {