web/TransferSettings: pretty formatting
This commit is contained in:
parent
e7587a2ec6
commit
2c4ba96d57
1 changed files with 4 additions and 3 deletions
|
@ -87,9 +87,10 @@
|
|||
};
|
||||
|
||||
const exportSettings = () => {
|
||||
const blob = new Blob([JSON.stringify($storedSettings, null, 2)], {
|
||||
type: "application/json",
|
||||
});
|
||||
const blob = new Blob(
|
||||
[JSON.stringify($storedSettings, null, 2)],
|
||||
{ type: "application/json" }
|
||||
);
|
||||
|
||||
const pseudolink = document.createElement("a");
|
||||
pseudolink.href = URL.createObjectURL(blob);
|
||||
|
|
Loading…
Reference in a new issue