mirror of
https://github.com/aculix/vector-drawable-nextjs.git
synced 2025-12-06 06:08:24 +00:00
fix ext
This commit is contained in:
parent
4e3f1d3263
commit
fe8a460933
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user