expose api as window.secureApi (#3207)

Former-commit-id: 6b1ca33b8da4ddd96efb28b879e568f713b5fb29
This commit is contained in:
Jaco Greeff 2016-11-04 19:52:39 +01:00 committed by Arkadiy Paronyan
parent 1d2fbdebb2
commit adf4e65759

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(