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:
parent
4cb3284136
commit
cde449925b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user