import {makeAutoObservable} from "mobx" import OrdersStore from "./OrdersStore"; import DashboardStore from "./DashboardStore"; import DatePickerStore from "./DatePickerStore"; class Index { constructor() { this.dashboard_store = new DashboardStore(this); this.orders_store = new OrdersStore(this); this.date_picker_store = new DatePickerStore(this); makeAutoObservable(this); } goBack() { this.history.goBack(); } dashboard_store={} orders_store={} date_picker_store={} animating = false; } export default Index;