cosmos-explorer/src/ReactDevTools.ts

4 lines
140 B
TypeScript

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