I'm using Primereact's file upload component with customUpload prop and Uploadhandler callback. I want to change the status of the uploaded file when my uploadHandler function finishes executing.
<FileUpload className={`w-full`} name="demo[]" customUpload={true} uploadHandler={async (e) =>{
} }.... />