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. 20
      ui/app/components/app/menu-bar/menu-bar.js

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

Loading…
Cancel
Save