change theme file to .json

This commit is contained in:
SethBurkart123
2024-05-20 23:30:21 +10:00
parent 301ad3f296
commit 3898cc3a4e
+1 -1
View File
@@ -6,7 +6,7 @@ const saveThemeFile = (data: object, fileName: string) => {
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
const a = document.createElement('a'); const a = document.createElement('a');
a.href = url; a.href = url;
a.download = `${fileName}.theme`; a.download = `${fileName}.json`;
document.body.appendChild(a); document.body.appendChild(a);
a.click(); a.click();
document.body.removeChild(a); document.body.removeChild(a);