Remove duplicate 'Account options' tooltip (#8644)

The `title` HTML attribute already resulted in this having a tooltip.
We didn't need to add an extra one.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 8379dd6a07
commit 3cedf708e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      ui/app/components/app/menu-bar/menu-bar.js

@ -1,5 +1,4 @@
import React, { useState } from 'react' import React, { useState } from 'react'
import Tooltip from '../../ui/tooltip'
import SelectedAccount from '../selected-account' import SelectedAccount from '../selected-account'
import ConnectedStatusIndicator from '../connected-status-indicator' import ConnectedStatusIndicator from '../connected-status-indicator'
import AccountDetailsDropdown from '../dropdowns/account-details-dropdown' import AccountDetailsDropdown from '../dropdowns/account-details-dropdown'
@ -32,7 +31,6 @@ export default function MenuBar () {
<SelectedAccount /> <SelectedAccount />
<Tooltip title={t('accountOptions')} position="left">
<button <button
className="fas fa-ellipsis-v menu-bar__account-options" className="fas fa-ellipsis-v menu-bar__account-options"
title={t('accountOptions')} title={t('accountOptions')}
@ -40,9 +38,7 @@ export default function MenuBar () {
openAccountOptionsEvent() openAccountOptionsEvent()
setAccountDetailsMenuOpen(true) setAccountDetailsMenuOpen(true)
}} }}
> />
</button>
</Tooltip>
{ {
accountDetailsMenuOpen && ( accountDetailsMenuOpen && (

Loading…
Cancel
Save