diff --git a/src/entities/topic/ui/TopicForm/TopicForm.tsx b/src/entities/topic/ui/TopicForm/TopicForm.tsx index 3c74d0d41..f487dd45b 100644 --- a/src/entities/topic/ui/TopicForm/TopicForm.tsx +++ b/src/entities/topic/ui/TopicForm/TopicForm.tsx @@ -29,11 +29,7 @@ export const TopicForm = ({ isEdit }: TopicFormProps) => { {isEdit ? t(Topics.EDIT_PAGE_TITLE) : t(Topics.CREATE_PAGE_TITLE)} - - - {t(Topics.TITLE_FULL)} - {t(Topics.TITLE_LABEL)} - + {(register, hasError) => ( { /> )} - + {({ onChange, value }) => { @@ -62,11 +58,11 @@ export const TopicForm = ({ isEdit }: TopicFormProps) => { }} - - - {t(Topics.DESCRIPTION_FULL)} - {t(Topics.DESCRIPTION_LABEL)} - + {(register, hasError) => (