|
|
|
@ -4,25 +4,28 @@
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import { bindActionCreators } from 'redux';
|
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
|
import styled from 'styled-components';
|
|
|
|
|
import { Notification } from 'components/Notification';
|
|
|
|
|
import * as TrezorConnectActions from 'actions/TrezorConnectActions';
|
|
|
|
|
|
|
|
|
|
import type { State, Dispatch } from 'flowtype';
|
|
|
|
|
|
|
|
|
|
const Wrapper = styled.div``;
|
|
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
|
acquiring: boolean;
|
|
|
|
|
acquireDevice: typeof TrezorConnectActions.acquire
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const UnreadableDevice = (props: Props) => (
|
|
|
|
|
<section className="acquire">
|
|
|
|
|
<Wrapper>
|
|
|
|
|
<Notification
|
|
|
|
|
title="Unreadable device"
|
|
|
|
|
message="Please install bridge"
|
|
|
|
|
className="error"
|
|
|
|
|
cancelable={false}
|
|
|
|
|
/>
|
|
|
|
|
</section>
|
|
|
|
|
</Wrapper>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
export default connect(
|
|
|
|
|