79689255

Date: 2025-07-03 17:30:45
Score: 1
Natty:
Report link

You can do this

const handleChange: UploadProps['onChange'] = async ({ fileList, file }) => {
if (file.uid !== fileList.at(-1)?.uid) return;

//your code
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zahar