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) => {