Skip to content

Commit

Permalink
[DevTools] Show DevTools icons in Edge browser panel (#25257)
Browse files Browse the repository at this point in the history
Show DevTools icons in Edge browser panel
  • Loading branch information
itskolli committed Sep 14, 2022
1 parent c327b91 commit 2248dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-devtools-extensions/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ function createPanelIfReactLoaded() {
let needsToSyncElementSelection = false;

chrome.devtools.panels.create(
isChrome ? '⚛️ Components' : 'Components',
isChrome || isEdge ? '⚛️ Components' : 'Components',
'',
'panel.html',
extensionPanel => {
Expand Down Expand Up @@ -503,7 +503,7 @@ function createPanelIfReactLoaded() {
);

chrome.devtools.panels.create(
isChrome ? '⚛️ Profiler' : 'Profiler',
isChrome || isEdge ? '⚛️ Profiler' : 'Profiler',
'',
'panel.html',
extensionPanel => {
Expand Down

0 comments on commit 2248dcc

Please sign in to comment.