cosmos-explorer/src/ReactDevTools.ts
2020-05-25 21:30:55 -05:00

4 lines
125 B
TypeScript

if (window.parent !== window) {
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.parent.__REACT_DEVTOOLS_GLOBAL_HOOK__;
}