remove unused imports
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
CheckBoxfield,
|
||||
DateFieldPicker,
|
||||
DecimalField,
|
||||
FieldArrayForm,
|
||||
FileUploadField,
|
||||
MultiLinefield,
|
||||
NumericField,
|
||||
@@ -13,7 +14,6 @@ import {
|
||||
RichMultiLinefield,
|
||||
Textfield,
|
||||
YesNofield,
|
||||
FieldArrayForm,
|
||||
} from "../elements";
|
||||
|
||||
export default function BuildField(props) {
|
||||
@@ -21,13 +21,9 @@ export default function BuildField(props) {
|
||||
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
|
||||
const { fieldType, label, datafieldname, mandatoryFieldData } = props;
|
||||
|
||||
const parser = new DOMParser();
|
||||
|
||||
//console.log(props);
|
||||
|
||||
const whichFieldType = (classid) => {
|
||||
//console.log(props.datafieldname, classid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user