mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-28 18:36:25 +00:00
Merge pull request #15 from Fluffy-Bean/deepsource-transform-2375b083
style: format code with Prettier
This commit is contained in:
commit
3538e4d9bc
|
@ -17,7 +17,8 @@ function createCartStore() {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const newData: Record<string, CartItem> = await postVerifyCart(localData);
|
const newData: Record<string, CartItem> =
|
||||||
|
await postVerifyCart(localData);
|
||||||
cart.set(newData);
|
cart.set(newData);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Could not load basket:", error);
|
console.error("Could not load basket:", error);
|
||||||
|
|
Loading…
Reference in a new issue