i want to download the file. I could see the file link but when i click on the link the file getting downloaded but couldn't able to open the downloaded file. I couldn't able to figure where i'm going wrong. I'm getting in this way while opening the file.
Here is the code:
<div>
<b>File</b> :{" "}
<a href="#" onClick={this.FileDownload}>
{this.state.file}
</a>
</div>
Here is the sample code: "https://codesandbox.io/s/dazzling-stallman-wbwvf"
Can anyone help me in this query?