mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
Added wrapper
This commit is contained in:
parent
23db6d1737
commit
9cff1868d2
@ -1,4 +1,4 @@
|
|||||||
/* @flow */
|
import styled from 'styled-components';
|
||||||
import coins from 'constants/coins';
|
import coins from 'constants/coins';
|
||||||
import colors from 'config/colors';
|
import colors from 'config/colors';
|
||||||
import ICONS from 'config/icons';
|
import ICONS from 'config/icons';
|
||||||
@ -8,6 +8,8 @@ import { NavLink } from 'react-router-dom';
|
|||||||
import Divider from '../Divider';
|
import Divider from '../Divider';
|
||||||
import RowCoin from '../RowCoin';
|
import RowCoin from '../RowCoin';
|
||||||
|
|
||||||
|
const Wrapper = styled.div``;
|
||||||
|
|
||||||
class CoinMenu extends Component {
|
class CoinMenu extends Component {
|
||||||
getBaseUrl() {
|
getBaseUrl() {
|
||||||
const { selectedDevice } = this.props.wallet;
|
const { selectedDevice } = this.props.wallet;
|
||||||
@ -35,7 +37,7 @@ class CoinMenu extends Component {
|
|||||||
render() {
|
render() {
|
||||||
const { config } = this.props.localStorage;
|
const { config } = this.props.localStorage;
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<Wrapper>
|
||||||
{config.coins.map(item => (
|
{config.coins.map(item => (
|
||||||
<NavLink
|
<NavLink
|
||||||
key={item.network}
|
key={item.network}
|
||||||
@ -68,7 +70,7 @@ class CoinMenu extends Component {
|
|||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
))}
|
))}
|
||||||
</React.Fragment>
|
</Wrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user