diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2018-06-21 07:47:57 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2018-06-21 07:55:32 +0200 |
commit | be44cb9496e515acadbc6817eb6d8a2c04e1b03e (patch) | |
tree | 3bbfe7311942e5fb9ed44617bf38beb017fcae31 | |
parent | 8f79e886fc56760694b3e1f470a8e61993b1ffba (diff) |
Simplified code
-rw-r--r-- | app/features/navbar/components/Navbar.js | 11 |
1 files changed, 1 insertions, 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 @@ -17,15 +17,6 @@ import Logo from './Logo'; */ 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. * * @returns {ReactElement[]} @@ -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 } |