Simplified code

This commit is contained in:
Saúl Ibarra Corretgé 2018-06-21 07:47:57 +02:00
parent 8f79e886fc
commit be44cb9496
1 changed files with 1 additions and 10 deletions

View File

@ -16,15 +16,6 @@ import Logo from './Logo';
* Navigation Bar component.
*/
class Navbar extends Component<*> {
/**
* Get the primary icon of Global Navigation.
*
* @returns {ReactElement}
*/
_getPrimaryIcon() {
return <Logo />;
}
/**
* Get the array of Primary actions of Global Navigation.
*
@ -65,7 +56,7 @@ class Navbar extends Component<*> {
key = { 0 } />
] }
globalPrimaryActions = { this._getPrimaryActions() }
globalPrimaryIcon = { this._getPrimaryIcon() }
globalPrimaryIcon = { <Logo /> }
globalSecondaryActions = { this._getSecondaryActions() }
isElectronMac = { isElectronMac() }
isOpen = { false }