Removed help command from commandbar

This commit is contained in:
Cássio Zen 2017-01-02 17:30:26 -02:00
parent 456c891034
commit c20896d073

View File

@ -26,7 +26,7 @@ import styles from './App.css';
TopBarProgress.config({ TopBarProgress.config({
barColors: { barColors: {
0: '#3ab7a5', "0": '#3ab7a5',
'1.0': '#3ab7a5', '1.0': '#3ab7a5',
}, },
shadowBlur: 5, shadowBlur: 5,
@ -116,8 +116,8 @@ class App extends React.Component {
// } // }
}); });
commands.push({ id: HELP, type: HELP, pattern: 'Help' }); // commands.push({ id: HELP, type: HELP, pattern: 'Help' });
defaultCommands.push(HELP); // defaultCommands.push(HELP);
return { commands, defaultCommands }; return { commands, defaultCommands };
} }
@ -136,6 +136,7 @@ class App extends React.Component {
isFetching, isFetching,
} = this.props; } = this.props;
if (config === null) { if (config === null) {
return null; return null;
} }