From ea52c526ff48db8ab7a7ba943d31119fdc27dbe9 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Wed, 20 Feb 2019 15:16:22 +0100 Subject: [PATCH 1/2] fix flow --- src/components/images/TrezorImage/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/images/TrezorImage/index.js b/src/components/images/TrezorImage/index.js index 7a106b68..0e0c716b 100644 --- a/src/components/images/TrezorImage/index.js +++ b/src/components/images/TrezorImage/index.js @@ -15,8 +15,8 @@ const Img = styled.img` `; const TrezorImage = ({ model }: Props) => { - // $FlowIssue: `require` must be a string literal. const imageName = model === 'One' ? 1 : model; + // $FlowIssue: `require` must be a string literal. const src = require(`./images/trezor-${imageName}.png`); // eslint-disable-line return ( From a9d5cf4344bb1b36ab36cfb64c50ef8328a408cc Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Wed, 20 Feb 2019 15:32:04 +0100 Subject: [PATCH 2/2] Removed docker readme --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 06ecf42d..2162d8c7 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,6 @@ To install dependencies run `npm install` or `yarn` To start locally run `npm run dev` or `yarn run dev` To build the project run `npm run build` or `yarn run build` -## Docker -- Build `./scripts/docker-build.sh` -- Run `./scripts/docker-run.sh` - ## Project structure The project is divided into two parts - data that are used when compiling the project and data that aren't.