1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-16 05:19:12 +00:00

Merge branch 'master' into fix/scan-qr-error-handling

This commit is contained in:
slowbackspace 2019-02-20 16:50:36 +01:00
commit 9967a9bc99
2 changed files with 1 additions and 5 deletions

View File

@ -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.

View File

@ -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 (
<Wrapper>