From e485b2a06818bf499a470da054cd1c148d721050 Mon Sep 17 00:00:00 2001 From: titix Date: Fri, 19 Jul 2024 15:43:21 -0300 Subject: [PATCH] merge: resolve conflicts --- src/components/SearchBar.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index acfd4dc..f4bdda0 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -1,9 +1,13 @@ +import { useTranslation } from 'next-i18next'; + interface SearchBarProps { value: string; onChange: (value: string) => void; } export const SearchBar = ({ value, onChange }: SearchBarProps) => { + const { t } = useTranslation(); + const handleChange = (event: React.ChangeEvent) => { onChange(event.target.value); };