This commit is contained in:
Yath Seanghay
2021-01-07 18:49:45 +07:00
parent 4e3f1d3263
commit fe8a460933
+1 -2
View File
@@ -116,9 +116,8 @@ export default function Home() {
let filename = 'output.svg';
if (vectorDrawableFile) {
filename = vectorDrawableFile.name.split('.').slice(0, -1).join('.') + "svg";
filename = vectorDrawableFile.name.split('.').slice(0, -1).join('.') + ".svg";
}
downloadBlob(filename, transformedSvg);
}