1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

UX Multichain: updated margin top for assets tab (#19071)

* updated margin top for assets tab

* remove changes from yml file

* remove changes from yml file
This commit is contained in:
Nidhi Kumari 2023-05-09 22:02:56 +05:30 committed by GitHub
parent 4cb3284136
commit cde449925b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -815,13 +815,21 @@ export default class Home extends PureComponent {
name={this.context.t('assets')} name={this.context.t('assets')}
tabKey="assets" tabKey="assets"
> >
<Box marginTop={2}> {process.env.MULTICHAIN ? (
<Box marginTop={2}>
<AssetList
onClickAsset={(asset) =>
history.push(`${ASSET_ROUTE}/${asset}`)
}
/>
</Box>
) : (
<AssetList <AssetList
onClickAsset={(asset) => onClickAsset={(asset) =>
history.push(`${ASSET_ROUTE}/${asset}`) history.push(`${ASSET_ROUTE}/${asset}`)
} }
/> />
</Box> )}
</Tab> </Tab>
{ {
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask) ///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)