diff --git a/src/containers/my-resources/add-resource-with-input/AddResourceWithInput.tsx b/src/containers/my-resources/add-resource-with-input/AddResourceWithInput.tsx index 47d3e17d00..617e982c7a 100644 --- a/src/containers/my-resources/add-resource-with-input/AddResourceWithInput.tsx +++ b/src/containers/my-resources/add-resource-with-input/AddResourceWithInput.tsx @@ -17,8 +17,8 @@ import { useDebounce } from '~/hooks/use-debounce' import AppButton from '~/components/app-button/AppButton' import InputWithIcon from '~/components/input-with-icon/InputWithIcon' import FilterSelector from '~/components/filter-selector/FilterSelector' -import { ServiceFunction } from '~/types' +import { ServiceFunction } from '~/types' import { styles } from '~/containers/my-resources/add-resource-with-input/AddResourceWithInput.styles' interface AddResourceWithInputProps { @@ -62,7 +62,7 @@ const AddResourceWithInput: FC = ({ } const filterProps = { - title: 'Category', + title: t('myResourcesPage.questions.category'), service: categoryService, selectedItems: selectedItems, setSelectedItems: setItems @@ -79,7 +79,7 @@ const AddResourceWithInput: FC = ({ button )} - {categoryService ? : ''} + {categoryService && } } onChange={onChange}