From 19c163b26f6845ea1ad48051608726dd26ae4e87 Mon Sep 17 00:00:00 2001 From: Matias Arriola Date: Wed, 26 Jan 2022 09:54:54 -0300 Subject: [PATCH] Fix typo --- .../maps-page/action-dispatcher/export-dialog/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx b/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx index 3175a71b..1b5ccab5 100644 --- a/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx +++ b/packages/webapp/src/components/maps-page/action-dispatcher/export-dialog/index.tsx @@ -72,7 +72,7 @@ const ExportDialog = ({ const exporter = (formatType: ExportFormat) => { let svgElement: Element | null = null; let size; - let mindmpap: MindMap; + let mindmap: MindMap; const designer: Designer = global.designer; if (designer != null) { @@ -80,7 +80,7 @@ const ExportDialog = ({ const workspace = designer.getWorkspace(); svgElement = workspace.getSVGElement(); size = workspace.getSize(); - mindmpap = designer.getMindmap(); + mindmap = designer.getMindmap(); } else { // Load mindmap ... const persistence = new RESTPersistenceManager({ @@ -99,13 +99,13 @@ const ExportDialog = ({ case 'png': case 'jpg': case 'svg': { - exporter = ImageExpoterFactory.create(formatType, mindmpap, svgElement, size.width, size.height); + exporter = ImageExpoterFactory.create(formatType, mindmap, svgElement, size.width, size.height); break; } case 'wxml': case 'md': case 'txt': { - exporter = TextExporterFactory.create(formatType, mindmpap); + exporter = TextExporterFactory.create(formatType, mindmap); break; } default: