fix: mask download not working

This commit is contained in:
Zhenyu Zhu 2023-04-28 19:25:03 +08:00
parent 6419ce345f
commit ba0753c418
1 changed files with 3 additions and 0 deletions

View File

@ -368,6 +368,9 @@ export function MaskPage() {
text={Locale.Mask.EditModal.Download}
key="export"
bordered
onClick={() =>
downloadAs(JSON.stringify(editingMask), "mask.json")
}
/>,
<IconButton
key="copy"