expose api as window.secureApi (#3207)
Former-commit-id: 6b1ca33b8da4ddd96efb28b879e568f713b5fb29
This commit is contained in:
parent
1d2fbdebb2
commit
adf4e65759
@ -59,6 +59,8 @@ const store = initStore(api);
|
|||||||
store.dispatch({ type: 'initAll', api });
|
store.dispatch({ type: 'initAll', api });
|
||||||
store.dispatch(setApi(api));
|
store.dispatch(setApi(api));
|
||||||
|
|
||||||
|
window.secureApi = api;
|
||||||
|
|
||||||
const routerHistory = useRouterHistory(createHashHistory)({});
|
const routerHistory = useRouterHistory(createHashHistory)({});
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
|
Loading…
Reference in New Issue
Block a user