diff --git a/app/components/DropZone.js b/app/components/DropZone.js index 1801ac2..79e7514 100644 --- a/app/components/DropZone.js +++ b/app/components/DropZone.js @@ -80,7 +80,7 @@ class DropZone extends Component { }, filePathAndName => { fs.createReadStream(template).pipe( - fs.createWriteStream(filePathAndName) + fs.createWriteStream(`${filePathAndName}.csv`) ); } );