meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
5 changed files with
5 additions and
4 deletions
-
src/components/EnsureDevice.js
-
src/components/ManagerPage/FirmwareUpdate.js
-
src/components/ManagerPage/index.js
-
src/components/Workflow/index.js
-
src/components/modals/Debug.js
|
|
@ -25,7 +25,7 @@ import Button from 'components/base/Button' |
|
|
|
import NanoS from 'icons/device/NanoS' |
|
|
|
import CheckFull from 'icons/CheckFull' |
|
|
|
|
|
|
|
import { PreventDeviceChangeRecheck } from '../Workflow/EnsureDevice' |
|
|
|
import { PreventDeviceChangeRecheck } from 'components/EnsureDevice' |
|
|
|
import UpdateFirmwareButton from './UpdateFirmwareButton' |
|
|
|
|
|
|
|
let CACHED_LATEST_FIRMWARE = null |
|
|
|
|
|
@ -26,7 +26,8 @@ class ManagerPage extends PureComponent<Props, State> { |
|
|
|
deviceInfo: null, |
|
|
|
} |
|
|
|
|
|
|
|
handleSuccessGenuine = ({ device, deviceInfo }: { device: Device, deviceInfo: DeviceInfo }) => { |
|
|
|
// prettier-ignore
|
|
|
|
handleSuccessGenuine = ({ device, deviceInfo }: { device: Device, deviceInfo: DeviceInfo }) => { // eslint-disable-line react/no-unused-prop-types
|
|
|
|
this.setState({ isGenuine: true, device, deviceInfo }) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@ import type { DeviceInfo } from 'helpers/devices/getDeviceInfo' |
|
|
|
import type { Node } from 'react' |
|
|
|
import type { Device } from 'types/common' |
|
|
|
|
|
|
|
import EnsureDevice from './EnsureDevice' |
|
|
|
import EnsureDevice from 'components/EnsureDevice' |
|
|
|
import EnsureDashboard from './EnsureDashboard' |
|
|
|
import EnsureGenuine from './EnsureGenuine' |
|
|
|
|
|
|
|
|
|
@ -7,7 +7,7 @@ import Modal, { ModalBody, ModalTitle, ModalContent } from 'components/base/Moda |
|
|
|
import Button from 'components/base/Button' |
|
|
|
import Box from 'components/base/Box' |
|
|
|
import Input from 'components/base/Input' |
|
|
|
import EnsureDevice from 'components/Workflow/EnsureDevice' |
|
|
|
import EnsureDevice from 'components/EnsureDevice' |
|
|
|
import { getDerivations } from 'helpers/derivations' |
|
|
|
import getAddress from 'commands/getAddress' |
|
|
|
import testInterval from 'commands/testInterval' |
|
|
|