title: How to delete/clean a loaded data after an event
body: <p>I want load a CSV file and send it to backend. To do that I used <code>react-csv-reader</code>. I basically load a file, and after that I push another button and send the data to backend. My problem is that after sending it to backend the file still remains as selected/uploaded. How can I remove or clean that?</p>
  <p>My code:</p>
  <pre><code>&lt;CSVReader
    cssClass=&quot;myCSS&quot;
    label=&quot;Choose a CSV&quot;
    inputId=&quot;myCSV&quot;
    inputName=&quot;myCSV&quot;
    inputStyle={{ color: 'red' }}
    onFileLoaded={data =&gt; handleUploading(data)}
  /&gt;
  //...
  const handleUploading = data =&gt; {
    setSelectedFile(data);
  };
  </code></pre>
  <p>As I said, I have my file content into <code>data</code> and I send that to backend but the file still remains as &quot;loaded&quot;. Is there any way to clean that?</p>