fix(hooks): push success toast after save (#4830)

This commit is contained in:
fourdim
2023-11-09 21:40:52 -05:00
committed by GitHub
parent 7698a6ac8e
commit f1e32aab66

View File

@@ -37,7 +37,7 @@ interface ExportHandlerOptions {
async function exportHandler({ page, type }: ExportHandlerOptions) {
if (type === 'pdf' && environment.isDesktop && page.meta.mode === 'page') {
window.apis?.export.savePDFFileAs(
await window.apis?.export.savePDFFileAs(
(page.root as PageBlockModel).title.toString()
);
} else {