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.
24 lines
589 B
JavaScript
24 lines
589 B
JavaScript
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; |