We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5771dc0 commit 4fef172Copy full SHA for 4fef172
client/src/components/formHelpers/form-fields.tsx
@@ -1,5 +1,4 @@
1
import {
2
- Alert,
3
ControlLabel,
4
FormControl,
5
FormGroup,
@@ -9,7 +8,6 @@ import { kebabCase, set } from 'lodash-es';
9
8
import normalizeUrl from 'normalize-url';
10
import React, { Fragment, useState } from 'react';
11
import { Field } from 'react-final-form';
12
-import { useTranslation } from 'react-i18next';
13
import Warning from '../../assets/icons/warning';
14
import { FormOptions } from './form';
15
@@ -27,7 +25,6 @@ type FormFieldsProps = {
27
25
};
28
26
29
function FormFields(props: FormFieldsProps): JSX.Element {
30
- const { t } = useTranslation();
31
const { formFields, options = {} }: FormFieldsProps = props;
32
const {
33
ignored = [],
0 commit comments