From 38c781b8f3094a9dd47573c61c7e682837476409 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Sat, 9 Sep 2023 20:13:36 +0800 Subject: [PATCH] fix open setting shortcut --- src/views/Action/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Action/index.js b/src/views/Action/index.js index 7f7b2df..1503a17 100644 --- a/src/views/Action/index.js +++ b/src/views/Action/index.js @@ -109,7 +109,7 @@ export default function Action({ translator, fab }) { GM.registerMenuCommand( "Open Setting (Alt+o)", (event) => { - setShowPopup((pre) => !pre); + window.open(process.env.REACT_APP_OPTIONSPAGE, "_blank"); }, "O" )