Skip to content

Commit

Permalink
Allow importing of JSON files.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoBernardino committed Oct 5, 2021
1 parent 7a8d39a commit 31ee24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ImportExportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const ImportExportModal = (props: ImportExportModalProps) => {
}
};

reader.readAsDataURL(importFileDialogResult.value);
reader.readAsText(importFileDialogResult.value);
};

const onRequestExport = async () => {
Expand Down

0 comments on commit 31ee24a

Please sign in to comment.