From 0de30758a863349371d973a3809ef3fbd49d3bb6 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 11 Oct 2018 15:05:14 +0200 Subject: [PATCH] Removed unnecessary component --- .../NemWallet/components/NemImage/index.js | 15 --------------- .../NemImage => }/images/nem-download.png | Bin .../modals/external/NemWallet/index.js | 10 ++++++++-- 3 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 src/components/modals/external/NemWallet/components/NemImage/index.js rename src/components/modals/external/NemWallet/{components/NemImage => }/images/nem-download.png (100%) diff --git a/src/components/modals/external/NemWallet/components/NemImage/index.js b/src/components/modals/external/NemWallet/components/NemImage/index.js deleted file mode 100644 index 2306c435..00000000 --- a/src/components/modals/external/NemWallet/components/NemImage/index.js +++ /dev/null @@ -1,15 +0,0 @@ -/* @flow */ - -import React from 'react'; -import styled from 'styled-components'; -import DownloadImg from './images/nem-download.png'; - -const Img = styled.img` - display: block; - width: 100%; - height: auto; -`; - -const NemImage = () => ; - -export default NemImage; diff --git a/src/components/modals/external/NemWallet/components/NemImage/images/nem-download.png b/src/components/modals/external/NemWallet/images/nem-download.png similarity index 100% rename from src/components/modals/external/NemWallet/components/NemImage/images/nem-download.png rename to src/components/modals/external/NemWallet/images/nem-download.png diff --git a/src/components/modals/external/NemWallet/index.js b/src/components/modals/external/NemWallet/index.js index 8e2fcc53..4835d79c 100644 --- a/src/components/modals/external/NemWallet/index.js +++ b/src/components/modals/external/NemWallet/index.js @@ -13,7 +13,7 @@ import Button from 'components/Button'; import { H3, H4 } from 'components/Heading'; import P from 'components/Paragraph'; -import NemImage from './components/NemImage'; +import NemImage from './images/nem-download.png'; import type { Props as BaseProps } from '../../Container'; type Props = { @@ -37,6 +37,12 @@ const StyledLink = styled(Link)` top: 10px; `; +const Img = styled.img` + display: block; + width: 100%; + height: auto; +`; + const NemWallet = (props: Props) => ( @@ -49,7 +55,7 @@ const NemWallet = (props: Props) => (

NEM Wallet

We have partnered up with the NEM Foundation to provide you with a full-fledged NEM Wallet.

Make sure you download the Universal Client for TREZOR support.

- + Go to nem.io
);