Ticket Component

This commit is contained in:
2024-10-06 19:30:12 +02:00
parent c050560fba
commit 4a62c7a96b
47 changed files with 365 additions and 219 deletions

View File

@@ -11,8 +11,7 @@ import { PaymentModel } from "../models/user/paymentModel";
export const useAccountStore = defineStore("accountStore", {
state: () => ({
userAccount: useLocalStorage("hackmycart/accountStore/userAccount", new AccountModel()),
orders: useLocalStorage<Array<OrderModel>>("hackmycart/accountStore/orders", [ new OrderModel() ])
userAccount: useLocalStorage("hackmycart/accountStore/userAccount", new AccountModel())
}),
actions: {