add command shortcuts & menu command

This commit is contained in:
Gabe Yuan
2023-08-21 14:03:39 +08:00
parent 6b30f443e1
commit 3c3ebdf96c
9 changed files with 54 additions and 1 deletions

View File

@@ -112,7 +112,9 @@ export default function Action({ translator, fab }) {
}
>
<Paper>
<Popup setShowPopup={setShowPopup} translator={translator} />
{showPopup && (
<Popup setShowPopup={setShowPopup} translator={translator} />
)}
</Paper>
</Draggable>
<Draggable