style: format code with Prettier

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

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-05-04 15:54:37 +00:00 committed by GitHub
parent 7b4cbef983
commit 9d19529b8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ function createCartStore() {
await getItemByUUID(uuid).then((data: Item) => {
cart.update((cart: Record<string, CartItem>) =>
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;
});
}