mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
17 lines
304 B
TypeScript
17 lines
304 B
TypeScript
import { RootStore, IRootStore } from './RootStore/RootStore';
|
|
import config from 'app/core/config';
|
|
|
|
export let store: IRootStore;
|
|
|
|
export function createStore(services) {
|
|
store = RootStore.create(
|
|
{},
|
|
{
|
|
...services,
|
|
navTree: config.bootData.navTree,
|
|
}
|
|
);
|
|
|
|
return store;
|
|
}
|