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); };