diff --git a/src/ui/Mobile/Navigation/Tabs/TabContext.tsx b/src/ui/Mobile/Navigation/Tabs/TabContext.tsx index 6b536ba3..c12a2bf9 100644 --- a/src/ui/Mobile/Navigation/Tabs/TabContext.tsx +++ b/src/ui/Mobile/Navigation/Tabs/TabContext.tsx @@ -5,7 +5,6 @@ import React, { useRef, type ReactNode, } from "react"; -import { useTranslation } from "react-i18next"; import type { TabContextTab } from "../../../types/index.js"; export type Tab = TabContextTab; @@ -34,7 +33,6 @@ interface TabProviderProps { } export function TabProvider({ children }: TabProviderProps) { - const { t } = useTranslation(); const [tabs, setTabs] = useState([]); const [currentTab, setCurrentTab] = useState(null); const nextTabId = useRef(1); diff --git a/src/ui/hooks/useDragToDesktop.ts b/src/ui/hooks/useDragToDesktop.ts index 4567634e..f275291a 100644 --- a/src/ui/hooks/useDragToDesktop.ts +++ b/src/ui/hooks/useDragToDesktop.ts @@ -248,7 +248,7 @@ export function useDragToDesktop({ sshSessionId }: UseDragToDesktopProps) { const dragFolderToDesktop = useCallback( async (folder: FileItem, options: DragToDesktopOptions = {}) => { - const { enableToast = true, onSuccess, onError } = options; + const { enableToast = true, onError } = options; if (!isElectron()) { const error =