Skip to content
Snippets Groups Projects
Commit be44cb94 authored by Saúl Ibarra Corretgé's avatar Saúl Ibarra Corretgé
Browse files

Simplified code

parent 8f79e886
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment