Skip to content

Commit eb3d7da

Browse files
committed
修复设计导出错误处理,简化异常捕获逻辑
1 parent 0bdaa7d commit eb3d7da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/playground/src/pages/Studio.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const StudioToolbarContext = ({
110110
a.click();
111111
URL.revokeObjectURL(url);
112112
toast.success('Design exported successfully');
113-
} catch (error) {
113+
} catch {
114114
toast.error('Failed to export design');
115115
}
116116
};

0 commit comments

Comments
 (0)