You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GHHub/src/stores/Root.js

17 lines
457 B
JavaScript

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;