Skip to content

Commit

Permalink
feat: format json on export
Browse files Browse the repository at this point in the history
  • Loading branch information
bhajneet committed Oct 29, 2023
1 parent b885c0a commit f298db1
Show file tree
Hide file tree
Showing 2 changed files with 10,770 additions and 2 deletions.
10,770 changes: 10,769 additions & 1 deletion library/mahan kosh/files.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/renderer/src/dir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export async function exportQuadPoints() {
})

const writable = await fileHandle.createWritable()
await writable.write(JSON.stringify(json))
await writable.write(JSON.stringify(json, null, 2))
await writable.close()

// delete data from localstorage
Expand Down

0 comments on commit f298db1

Please sign in to comment.