1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-14 18:48:18 +00:00
trezor-wallet/src/js/components/modal/InvalidPin.js
2018-07-30 12:52:13 +02:00

19 lines
393 B
JavaScript

/* @flow */
import React from 'react';
import type { Props } from './index';
const InvalidPin = (props: Props) => {
if (!props.modal.opened) return null;
const { device } = props.modal;
return (
<div className="pin">
<h3>Entered PIN for { device.label } is not correct</h3>
<p>Retrying...</p>
</div>
);
};
export default InvalidPin;