mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-28 10:52:33 +00:00
fix flow
This commit is contained in:
parent
9c974c6415
commit
ea52c526ff
@ -15,8 +15,8 @@ const Img = styled.img`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const TrezorImage = ({ model }: Props) => {
|
const TrezorImage = ({ model }: Props) => {
|
||||||
// $FlowIssue: `require` must be a string literal.
|
|
||||||
const imageName = model === 'One' ? 1 : model;
|
const imageName = model === 'One' ? 1 : model;
|
||||||
|
// $FlowIssue: `require` must be a string literal.
|
||||||
const src = require(`./images/trezor-${imageName}.png`); // eslint-disable-line
|
const src = require(`./images/trezor-${imageName}.png`); // eslint-disable-line
|
||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user