expose api as window.secureApi (#3207)
This commit is contained in:
		
							parent
							
								
									7f0310921d
								
							
						
					
					
						commit
						83beedc27e
					
				| @ -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