dillon1000/react

Commit

Re-enable "view source" button for standalone shell

But only do this if we can verify the element file path. This hopefully avoids the case where clicking the button does nothing because of an invalid/incomplete path.
Browse files
Changed paths6 files
First-parent comparison
R packages/react-devtools-core/src/launchEditor.js →packages/react-devtools-core/src/editor.js RenamedM packages/react-devtools-core/src/standalone.js ModifiedM src/devtools/store.js ModifiedM src/devtools/views/Components/SelectedElement.js ModifiedM src/devtools/views/Components/ViewElementSourceContext.js ModifiedM src/devtools/views/DevTools.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…