Merge pull request #6 from Fluffy-Bean/deepsource-transform-bf6dd641

style: format code with Prettier
This commit is contained in:
Michał 2024-05-04 17:08:19 +01:00 committed by GitHub
commit d9e95ebda4
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;
});
}