diff --git a/src/components/ManagerPage/Dashboard.js b/src/components/ManagerPage/Dashboard.js index f0bc1ae9..51410c31 100644 --- a/src/components/ManagerPage/Dashboard.js +++ b/src/components/ManagerPage/Dashboard.js @@ -3,6 +3,7 @@ import React from 'react' import { translate } from 'react-i18next' import type { T, Device } from 'types/common' +import type { DeviceInfo } from 'helpers/devices/getDeviceInfo' import Box from 'components/base/Box' import Text from 'components/base/Text' @@ -10,13 +11,6 @@ import Text from 'components/base/Text' import AppsList from './AppsList' import FirmwareUpdate from './FirmwareUpdate' -type DeviceInfo = { - targetId: number | string, - version: string, - final: boolean, - mcu: boolean, -} - type Props = { t: T, device: Device, @@ -37,7 +31,12 @@ const Dashboard = ({ device, deviceInfo, t }: Props) => ( - + )