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.
dashboard/src/stores/Index.js

24 lines
589 B
JavaScript

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