Skip to content

Commit

Permalink
fix downloading log
Browse files Browse the repository at this point in the history
  • Loading branch information
yushih committed Oct 17, 2024
1 parent bffa959 commit f244b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yoroi-extension/app/utils/logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const downloadLogs = (publicKey?: string) => {
const blob = new Blob(errorLogs, { type: 'text/plain;charset=utf-8' });

import('file-saver').then(FileSaver => {
FileSaver.saveAs(blob, `${moment().format()}${logsFileSuffix}`);
FileSaver.default.saveAs(blob, `${moment().format()}${logsFileSuffix}`);
return null;
}).catch((error) => {
Logger.error(`error when downloading error log ${error}`);
Expand Down

0 comments on commit f244b6b

Please sign in to comment.