1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

hide NFT tab

This commit is contained in:
Matthias Kretschmann 2023-08-10 14:15:37 +01:00
parent f732845aa5
commit 98f901c21e
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 14 deletions

View File

@ -21,6 +21,7 @@
- UX improvements around network dropdown
- remove all the *Buy*, *Swap* etc. buttons, replace remaining *Send* with text only
- remove all *contact support* banners
- hide NFT tab completely, cause it's just badly designed
## Quick Start

View File

@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import { Redirect, Route } from 'react-router-dom';
import AssetList from '../../components/app/asset-list';
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
import NftsTab from '../../components/app/nfts-tab';
import TermsOfUsePopup from '../../components/app/terms-of-use-popup';
///: END:ONLY_INCLUDE_IN
import HomeNotification from '../../components/app/home-notification';
@ -673,19 +672,6 @@ export default class Home extends PureComponent {
/>
</Box>
</Tab>
<Tab
activeClassName="home__tab--active"
className="home__tab"
data-testid="home__nfts-tab"
name={this.context.t('nfts')}
tabKey="nfts"
>
{
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
<NftsTab />
///: END:ONLY_INCLUDE_IN
}
</Tab>
<Tab
activeClassName="home__tab--active"
className="home__tab"