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 7b4cbef
according to the output
from Prettier.
Details: None
This commit is contained in:
parent
7b4cbef983
commit
9d19529b8e
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue