import { Field, FieldGroup, FieldHint, FieldLabel, FieldRow, ToggleSwitch } from '@rocket.chat/fuselage-forms'; import { Controller, useFormContext } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; export const PreferencesGeneral = () => { const { t } = useTranslation(); const { control } = useFormContext(); return ( {t('Omnichannel_hide_conversation_after_closing')} } /> {t('Omnichannel_hide_conversation_after_closing_description')} ); };