scripts/apps/archive/controllers/file-upload-error-modal.tsx
Function fileUploadErrorModal
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function fileUploadErrorModal(
invalidFiles: Array<IFileError>,
) {
return class FileUploadErrorModal extends React.PureComponent<IProps> {
render() {
Function render
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
if (invalidFiles.length > 0) {
return (
<Modal
visible