fix open setting shortcut

This commit is contained in:
Gabe Yuan
2023-09-09 20:13:36 +08:00
parent 64d827fdcd
commit 38c781b8f3

View File

@@ -109,7 +109,7 @@ export default function Action({ translator, fab }) {
GM.registerMenuCommand( GM.registerMenuCommand(
"Open Setting (Alt+o)", "Open Setting (Alt+o)",
(event) => { (event) => {
setShowPopup((pre) => !pre); window.open(process.env.REACT_APP_OPTIONSPAGE, "_blank");
}, },
"O" "O"
) )