diff --git a/front/src/lib/cart.ts b/front/src/lib/cart.ts index fe3728a..7f45e54 100644 --- a/front/src/lib/cart.ts +++ b/front/src/lib/cart.ts @@ -32,7 +32,7 @@ function createCartStore() { await getItemByUUID(uuid).then((data: Item) => { cart.update((cart: Record) => Object.assign({}, cart, { - [uuid]: {uuid, amount, data}, + [uuid]: { uuid, amount, data }, }) ); }); @@ -72,7 +72,7 @@ function createCartStore() { function removeByUUID(uuid: string) { cart.update((cart) => { - delete cart[uuid]; // skipcq: JS-0320 + delete cart[uuid]; // skipcq: JS-0320 return cart; }); }