From be44cb9496e515acadbc6817eb6d8a2c04e1b03e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 21 Jun 2018 07:47:57 +0200 Subject: [PATCH] Simplified code --- app/features/navbar/components/Navbar.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/features/navbar/components/Navbar.js b/app/features/navbar/components/Navbar.js index c193211..3d8c911 100644 --- a/app/features/navbar/components/Navbar.js +++ b/app/features/navbar/components/Navbar.js @@ -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 ; - } - /** * 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 = { } globalSecondaryActions = { this._getSecondaryActions() } isElectronMac = { isElectronMac() } isOpen = { false }