diff options
Diffstat (limited to 'src/state/models/root-store.ts')
-rw-r--r-- | src/state/models/root-store.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts index ea3da1859..59bed4a6a 100644 --- a/src/state/models/root-store.ts +++ b/src/state/models/root-store.ts @@ -4,7 +4,7 @@ import {makeAutoObservable} from 'mobx' import AdxApi from '../../third-party/api' -import {ServiceClient} from '../../third-party/api/src/index' +import type {ServiceClient} from '../../third-party/api/src/index' import {createContext, useContext} from 'react' import {isObj, hasProp} from '../lib/type-guards' import {SessionModel} from './session' @@ -13,7 +13,7 @@ import {ShellModel} from './shell' import {MeModel} from './me' export class RootStoreModel { - session = new SessionModel() + session = new SessionModel(this) nav = new NavigationModel() shell = new ShellModel() me = new MeModel(this) |