From 9d19529b8ee6a777579c61174bf448c5cdfa021e Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 4 May 2024 15:54:37 +0000 Subject: [PATCH] style: format code with Prettier This commit fixes the style issues introduced in 7b4cbef according to the output from Prettier. Details: None --- front/src/lib/cart.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }); }