diff --git a/apps/web/src/components/HandoffButton.tsx b/apps/web/src/components/HandoffButton.tsx index 966936c0a1..593188fc64 100644 --- a/apps/web/src/components/HandoffButton.tsx +++ b/apps/web/src/components/HandoffButton.tsx @@ -11,6 +11,7 @@ import type { HostEditorsResponse, } from '@open-design/contracts'; import { fetchHostEditors, openProjectInEditor } from '../providers/registry'; +import { useT } from '../i18n'; import { Icon } from './Icon'; import { EditorIcon } from './EditorIcon'; @@ -42,6 +43,7 @@ function writePreferred(id: HostEditorId): void { } export function HandoffButton({ projectId, onRequestRevealInFinder }: Props) { + const t = useT(); const [editors, setEditors] = useState([]); const [platform, setPlatform] = useState('unknown'); const [loaded, setLoaded] = useState(false); @@ -135,7 +137,7 @@ export function HandoffButton({ projectId, onRequestRevealInFinder }: Props) {