client/app/bundles/course/announcements/components/forms/AnnouncementForm.tsx
Function AnnouncementForm
has 143 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const AnnouncementForm: FC<Props> = (props) => {
const { open, editing, title, onClose, initialValues, onSubmit, canSticky } =
props;
const { t } = useTranslation();
const [whenToPublish, setWhenToPublish] = useState<PublishTime>('now');
- Create a ticketCreate a ticket