diff --git a/packages/react-devtools/app.js b/packages/react-devtools/app.js index c9b415ea49..679dfb70df 100644 --- a/packages/react-devtools/app.js +++ b/packages/react-devtools/app.js @@ -5,7 +5,6 @@ const { join } = require('path'); const argv = require('minimist')(process.argv.slice(2)); const projectRoots = argv._; -const defaultThemeName = argv.theme; let mainWindow = null; @@ -35,14 +34,6 @@ app.on('ready', function() { 'window.devtools.setProjectRoots(' + JSON.stringify(projectRoots) + ')' ); - if (argv.theme) { - mainWindow.webContents.executeJavaScript( - 'window.devtools.setDefaultThemeName(' + - JSON.stringify(defaultThemeName) + - ')' - ); - } - // Emitted when the window is closed. mainWindow.on('closed', function() { mainWindow = null;