grafana/public/app/stores/store.ts

13 lines
212 B
TypeScript
Raw Normal View History

import { RootStore, IRootStore } from './RootStore';
2017-12-20 10:24:04 -06:00
export let store: IRootStore;
export function createStore(backendSrv) {
store = RootStore.create(
{},
{
backendSrv: backendSrv,
}
);
2017-12-20 10:24:04 -06:00
}