import React from 'react'; import { Link } from 'react-router-dom'; import { useMultiEditData } from '../hooks/use-multi-edit-data'; import ErrorBox from '../components/error-box'; import InfoBox from '../components/info-box'; import { allFieldsConfig } from '../config/data-fields-config'; import DataEntry from './data-components/data-entry'; interface MultiEditProps { category: string; } const MultiEdit: React.FC = (props) => { const [data, error] = useMultiEditData(); return (

Paste {props.category} data

{ error ? : } { data && Object.keys(data).map((key => ( ))) }
Back to view Back to edit
); }; export default MultiEdit;