Chika 8b9c261783 packages: add @tanstack/react-query
stores: remove user store
2022-08-31 12:50:25 +03:00

20 lines
550 B
TypeScript

/* eslint-disable import/no-cycle */
import { enableStaticRendering } from 'mobx-react-lite';
import CalculationStore from './calculation';
import ResultsStore from './results';
import TablesStore from './tables';
enableStaticRendering(typeof window === 'undefined');
export default class RootStore {
$calculation: CalculationStore;
$results: ResultsStore;
$tables: TablesStore;
constructor() {
this.$calculation = new CalculationStore(this);
this.$results = new ResultsStore(this);
this.$tables = new TablesStore(this);
}
}