dillon1000/react
Commit
Browse files 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.
Changed paths6 files
First-parent comparisonpackages/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…