From a7e2880909751046e27ae7c268950b0343c77e2d Mon Sep 17 00:00:00 2001 From: dreptschar Date: Sun, 13 Oct 2024 14:09:44 +0200 Subject: [PATCH 1/2] Translation: desktop-client/src/components/common/search.tsx --- packages/desktop-client/src/components/common/Search.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/desktop-client/src/components/common/Search.tsx b/packages/desktop-client/src/components/common/Search.tsx index 6f9c2c469f0..38b99c20e31 100644 --- a/packages/desktop-client/src/components/common/Search.tsx +++ b/packages/desktop-client/src/components/common/Search.tsx @@ -1,4 +1,5 @@ import { type Ref } from 'react'; +import { useTranslation } from 'react-i18next'; import { SvgRemove, SvgSearchAlternate } from '../../icons/v2'; import { theme } from '../../style'; @@ -24,6 +25,7 @@ export function Search({ isInModal = false, width = 250, }: SearchProps) { + const { t } = useTranslation(); return ( +