diff --git a/components/ImportExportModal.tsx b/components/ImportExportModal.tsx index c3fd9b2..9430e7f 100644 --- a/components/ImportExportModal.tsx +++ b/components/ImportExportModal.tsx @@ -136,7 +136,7 @@ const ImportExportModal = (props: ImportExportModalProps) => { } }; - reader.readAsDataURL(importFileDialogResult.value); + reader.readAsText(importFileDialogResult.value); }; const onRequestExport = async () => {