expose api as window.secureApi (#3207)

This commit is contained in:
Jaco Greeff 2016-11-04 19:52:39 +01:00 committed by Gav Wood
parent 7f0310921d
commit 83beedc27e

View File

@ -59,6 +59,8 @@ const store = initStore(api);
store.dispatch({ type: 'initAll', api });
store.dispatch(setApi(api));
window.secureApi = api;
const routerHistory = useRouterHistory(createHashHistory)({});
ReactDOM.render(