style: format code with Prettier

This commit fixes the style issues introduced in cf385e5 according to the output
from Prettier.

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-05-06 13:58:01 +00:00 committed by GitHub
parent cf385e5875
commit dda41aa77b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,8 @@ import { type CartItem, type Item } from "./types";
import { getItemByUUID, postVerifyCart } from "./test-api";
function getLocal(): Record<string, CartItem> {
let localData: Record<string, CartItem> = JSON.parse(localStorage.getItem("basket")) || {};
let localData: Record<string, CartItem> =
JSON.parse(localStorage.getItem("basket")) || {};
postVerifyCart(localData)
.then((data: Record<string, CartItem>) => {