diff --git a/components/upload/Upload.tsx b/components/upload/Upload.tsx index 455bbbfb9a..32a61d041d 100644 --- a/components/upload/Upload.tsx +++ b/components/upload/Upload.tsx @@ -198,7 +198,7 @@ export default class Upload extends React.Component { file, fileList: uniqBy( this.state.fileList.concat(fileList.map(fileToObject)), - (item: UploadFile) => item.uid !== undefined + (item: UploadFile) => item.uid !== undefined, ), }); return false;