@samitouri / QOS-React / commits / de730da230

Elements -> Components (label)

Dan Abramov committed Apr 2, 2019 at 19:46 UTC de730da2305b9ed7093072ba87811858c02a3e5a
2 files changed +3 -3
shells/browser/shared/src/main.js
+1 -1
@@ -143,7 +143,7 @@ function createPanelIfReactLoaded() {
143
144 let currentPanel = null;
145
146 - chrome.devtools.panels.create('⚛ Elements', '', 'panel.html', panel => {
146 + chrome.devtools.panels.create('⚛ Components', '', 'panel.html', panel => {
147 panel.onShown.addListener(panel => {
148 if (currentPanel === panel) {
149 return;
src/devtools/views/DevTools.js
+2 -2
@@ -48,8 +48,8 @@ export type Props = {|
48 const elementTab = {
49 id: ('elements': TabID),
50 icon: 'elements',
51 - label: 'Elements',
52 - title: 'React Elements',
51 + label: 'Components',
52 + title: 'React Components',
53 };
54 const profilerTab = {
55 id: ('profiler': TabID),