From ba0753c4180447f53d0bb5657169053c4151d4f1 Mon Sep 17 00:00:00 2001 From: Zhenyu Zhu Date: Fri, 28 Apr 2023 19:25:03 +0800 Subject: [PATCH] fix: mask download not working --- app/components/mask.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/components/mask.tsx b/app/components/mask.tsx index d08f363d..bfaab2b7 100644 --- a/app/components/mask.tsx +++ b/app/components/mask.tsx @@ -368,6 +368,9 @@ export function MaskPage() { text={Locale.Mask.EditModal.Download} key="export" bordered + onClick={() => + downloadAs(JSON.stringify(editingMask), "mask.json") + } />,