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

pull/383/head
slowbackspace 5 years ago
commit 9967a9bc99

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

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

Loading…
Cancel
Save