Fix linting issues (#2383)

This commit is contained in:
Jon Koops 2022-04-01 11:46:46 +02:00 committed by GitHub
parent c0981a1bae
commit 23b311c552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,9 @@ import "../../realm-settings-section.css";
export const AttributeValidations = () => {
const { t } = useTranslation("realm-settings");
const [addValidatorModalOpen, toggleModal] = useToggle();
const [validatorToDelete, setValidatorToDelete] =
useState<{ name: string }>();
const [validatorToDelete, setValidatorToDelete] = useState<{
name: string;
}>();
const { setValue, control, register } = useFormContext();
const validators = useWatch<KeyValueType[]>({