@@ -31,7 +30,7 @@ const Devices = ({ interfaces, dnsIp, dnsPort }: DevicesProps) => (
@@ -41,5 +40,3 @@ const Devices = ({ interfaces, dnsIp, dnsPort }: DevicesProps) => (
);
-
-export default flow([withTranslation()])(Devices);
diff --git a/client/src/install/Setup/Progress.tsx b/client/src/install/Setup/Progress.tsx
index 71b13a45..ecebb7d4 100644
--- a/client/src/install/Setup/Progress.tsx
+++ b/client/src/install/Setup/Progress.tsx
@@ -1,21 +1,19 @@
import React from 'react';
-import { Trans, withTranslation } from 'react-i18next';
+import { Trans } from 'react-i18next';
import { INSTALL_TOTAL_STEPS } from '../../helpers/constants';
-const getProgressPercent = (step: any) => (step / INSTALL_TOTAL_STEPS) * 100;
+const getProgressPercent = (step: number) => (step / INSTALL_TOTAL_STEPS) * 100;
type Props = {
step: number;
};
-const Progress = (props: Props) => (
+export const Progress = ({ step }: Props) => (