import Link from "next/link"; import { useRouter } from "next/router"; import useTranslation from "next-translate/useTranslation"; import { Field, reduxForm } from "redux-form"; import { RenderPickList, RenderTextfield, RenderRadioList, RenderMultiline, RenderRichMultiline, FileUploadField, } from "./representationElements"; import { useDropzone } from "react-dropzone"; import { setRepresentationCapacity, setRepresentationSubmit, } from "../../../store/currentView/action"; const RepLandOwner = (props) => { let { t } = useTranslation(); const router = useRouter(); const { locale } = router; const { formObj, landOwnerRepresentationArr, setRepresentationCapacity, setRepresentationSubmit, } = props; const { acceptedFiles, getRootProps, getInputProps } = useDropzone(); const files = acceptedFiles.map((file) => (
  • {file.path} - {file.size} bytes
  • )); return (

    Representation for a Land owner

    {t("myrepresentations:enter-comment-label")}

    {t("myrepresentations:comments-set-out-label")}:
    {" "}
    { setRepresentationCapacity(); }} className="govuk-link" > {t("common:back-link")}
    ); }; export default RepLandOwner;