From 8dc3eb688785629467816e2a994f254583820fe9 Mon Sep 17 00:00:00 2001 From: Maxime Aubanel Date: Wed, 9 Aug 2023 14:02:27 +0200 Subject: [PATCH] Remove unused import --- .../EarlySecurityChecks/useChangeLanguagePrompt.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/EarlySecurityChecks/useChangeLanguagePrompt.tsx b/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/EarlySecurityChecks/useChangeLanguagePrompt.tsx index 901ed0a10c8b..cbf2ca75313f 100644 --- a/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/EarlySecurityChecks/useChangeLanguagePrompt.tsx +++ b/apps/ledger-live-desktop/src/renderer/components/SyncOnboarding/Manual/EarlySecurityChecks/useChangeLanguagePrompt.tsx @@ -1,16 +1,15 @@ -import { useCallback, useEffect, useState } from "react"; - import { Device } from "@ledgerhq/live-common/hw/actions/types"; import { withDevice } from "@ledgerhq/live-common/hw/deviceAccess"; -import { DeviceInfo, DeviceModelInfo, idsToLanguage } from "@ledgerhq/types-live"; -import { from } from "rxjs"; import getDeviceInfo from "@ledgerhq/live-common/hw/getDeviceInfo"; +import { useAvailableLanguagesForDevice } from "@ledgerhq/live-common/manager/hooks"; +import { DeviceInfo, DeviceModelInfo, idsToLanguage } from "@ledgerhq/types-live"; import { isEqual } from "lodash"; +import { useCallback, useEffect, useState } from "react"; import { useSelector } from "react-redux"; -import { languageSelector } from "~/renderer/reducers/settings"; -import { Languages, Locale } from "~/config/languages"; -import { useAvailableLanguagesForDevice } from "@ledgerhq/live-common/manager/hooks"; +import { from } from "rxjs"; +import { Languages } from "~/config/languages"; import { setDrawer } from "~/renderer/drawers/Provider"; +import { languageSelector } from "~/renderer/reducers/settings"; import ChangeDeviceLanguagePromptDrawer from "~/renderer/screens/settings/sections/General/ChangeDeviceLanguagePromptDrawer"; type useChangeLanguagePromptParams = {