fix: mask download not working

This commit is contained in:
Zhenyu Zhu 2023-04-28 19:25:03 +08:00
parent 6419ce345f
commit ba0753c418

View File

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