mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-26 17:36:15 +00:00
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:
parent
cf385e5875
commit
dda41aa77b
|
@ -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>) => {
|
||||
|
|
Loading…
Reference in a new issue