Merge pull request #15 from Fluffy-Bean/deepsource-transform-2375b083

style: format code with Prettier
This commit is contained in:
Michał 2024-05-10 14:48:19 +01:00 committed by GitHub
commit 3538e4d9bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,8 @@ function createCartStore() {
}
try {
const newData: Record<string, CartItem> = await postVerifyCart(localData);
const newData: Record<string, CartItem> =
await postVerifyCart(localData);
cart.set(newData);
} catch (error) {
console.error("Could not load basket:", error);