dillon1000/react
Commit
Browse files Fix Cannot read property 'sub' of undefined when navigating to plain-text pages (#17848)
Update various parts of DevTools to account for the fact that the global "hook" might be undefined if DevTools didn't inject it (due to the page's `contentType`) it (due to the page's `contentType`)
Changed paths6 files
First-parent comparisonpackages/react-devtools-core/src/backend.js ModifiedM packages/react-devtools-extensions/src/backend.js ModifiedM packages/react-devtools-extensions/src/injectGlobalHook.js ModifiedM packages/react-devtools-extensions/src/main.js ModifiedM packages/react-devtools-inline/src/backend.js ModifiedM packages/react-devtools-shared/src/backend/index.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…