//
// SPDX-License-Identifier: AGPL-3.0
-import * as React from 'react';
+import React from 'react';
import { compose } from "redux";
import { reduxForm, InjectedFormProps, Field, WrappedFieldArrayProps, FieldArray } from 'redux-form';
import { withDialog, WithDialogProps } from "store/dialog/with-dialog";
const GroupNameField = () =>
<Field
name={CREATE_GROUP_NAME_FIELD_NAME}
- component={TextField}
+ component={TextField as any}
validate={GROUP_NAME_VALIDATION}
label="Name"
autoFocus={true} />;
const UsersField = () =>
<FieldArray
name={CREATE_GROUP_USERS_FIELD_NAME}
- component={UsersSelect} />;
+ component={UsersSelect as any} />;
const UsersSelect = ({ fields }: WrappedFieldArrayProps<Participant>) =>
<ParticipantSelect