mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-13 20:08:56 +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 colors from 'config/colors';
|
||||
import ICONS from 'config/icons';
|
||||
@ -8,6 +8,8 @@ import { NavLink } from 'react-router-dom';
|
||||
import Divider from '../Divider';
|
||||
import RowCoin from '../RowCoin';
|
||||
|
||||
const Wrapper = styled.div``;
|
||||
|
||||
class CoinMenu extends Component {
|
||||
getBaseUrl() {
|
||||
const { selectedDevice } = this.props.wallet;
|
||||
@ -35,7 +37,7 @@ class CoinMenu extends Component {
|
||||
render() {
|
||||
const { config } = this.props.localStorage;
|
||||
return (
|
||||
<React.Fragment>
|
||||
<Wrapper>
|
||||
{config.coins.map(item => (
|
||||
<NavLink
|
||||
key={item.network}
|
||||
@ -68,7 +70,7 @@ class CoinMenu extends Component {
|
||||
/>
|
||||
</a>
|
||||
))}
|
||||
</React.Fragment>
|
||||
</Wrapper>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user