diff --git a/src/actions/actionExport.tsx b/src/actions/actionExport.tsx index ab2fc2ed..e0d6cc2a 100644 --- a/src/actions/actionExport.tsx +++ b/src/actions/actionExport.tsx @@ -112,6 +112,10 @@ export const actionLoadScene = register({ updateData({ elements: elements, appState: appState }); }) .catch((error) => { + // if user cancels, ignore the error + if (error.name === "AbortError") { + return; + } updateData({ error: error.message }); }); }}