import { makeAutoObservable } from "mobx"; import Reservation from "./Reservation"; import Feedback from "./Feedback"; import Auth from "./Auth"; import Invoice from "./Invoice"; class Root { constructor() { this.reservationStore = new Reservation(this); this.feedbackStore = new Feedback(this); this.authStore = new Auth(this); //this.invoice = new Invoice(this); makeAutoObservable(this); } } export default Root;