We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33da657 commit 39ad101Copy full SHA for 39ad101
packages/react-devtools/app.js
@@ -5,7 +5,6 @@ const { join } = require('path');
5
6
const argv = require('minimist')(process.argv.slice(2));
7
const projectRoots = argv._;
8
-const defaultThemeName = argv.theme;
9
10
let mainWindow = null;
11
@@ -35,14 +34,6 @@ app.on('ready', function() {
35
34
'window.devtools.setProjectRoots(' + JSON.stringify(projectRoots) + ')'
36
);
37
38
- if (argv.theme) {
39
- mainWindow.webContents.executeJavaScript(
40
- 'window.devtools.setDefaultThemeName(' +
41
- JSON.stringify(defaultThemeName) +
42
- ')'
43
- );
44
- }
45
-
46
// Emitted when the window is closed.
47
mainWindow.on('closed', function() {
48
mainWindow = null;
0 commit comments