mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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.
This commit is contained in:
parent
8379dd6a07
commit
3cedf708e9
@ -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…
Reference in New Issue
Block a user