Skip to content

Commit

Permalink
feat(frontend): use formatted json
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Feb 11, 2024
1 parent e6ec0ee commit 5816653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/tauri_cmd/backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const backup = {
} else {
localStorage.setItem(pathKey, path);
}
await writeFile(path, JSON.stringify(localStorage));
await writeFile(path, JSON.stringify(localStorage, null, 2));
return path;
} else {
return null;
Expand Down

0 comments on commit 5816653

Please sign in to comment.