From dda41aa77b8dfc1d9a11a19c6a2f6c319b10923c Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 13:58:01 +0000 Subject: [PATCH] style: format code with Prettier This commit fixes the style issues introduced in cf385e5 according to the output from Prettier. Details: None --- front/src/lib/cart.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/lib/cart.ts b/front/src/lib/cart.ts index b56182b..0df5253 100644 --- a/front/src/lib/cart.ts +++ b/front/src/lib/cart.ts @@ -4,7 +4,8 @@ import { type CartItem, type Item } from "./types"; import { getItemByUUID, postVerifyCart } from "./test-api"; function getLocal(): Record { - let localData: Record = JSON.parse(localStorage.getItem("basket")) || {}; + let localData: Record = + JSON.parse(localStorage.getItem("basket")) || {}; postVerifyCart(localData) .then((data: Record) => {