diff --git a/src/lib/exportSave.ts b/src/lib/exportSave.ts index 2c350a974..ed2fc690d 100644 --- a/src/lib/exportSave.ts +++ b/src/lib/exportSave.ts @@ -25,7 +25,7 @@ export async function exportSave(data: ArrayBuffer) { } // Write the file. - await writeBinaryFile(filePath, uintArray) + await writeBinaryFile(filePath, file.contents) } else { // Download the file to the user's computer. // Now we need to download the files to the user's downloads folder.