diff --git a/addon/prefs.js b/addon/prefs.js index 78f2fd4c..c7e24012 100644 --- a/addon/prefs.js +++ b/addon/prefs.js @@ -17,4 +17,4 @@ pref("__prefsPrefix__.split-nested-tags-keep-first", true); pref("__prefsPrefix__.split-nested-tags-keep-second", true); pref("__prefsPrefix__.show-query-href", false); -pref("__prefsPrefix__.google-scholar-mirroring", ""); +pref("__prefsPrefix__.google-scholar-mirroring", ""); diff --git a/src/component/PopupRoot.tsx b/src/component/PopupRoot.tsx index ae8a8b7b..b88290c9 100644 --- a/src/component/PopupRoot.tsx +++ b/src/component/PopupRoot.tsx @@ -538,7 +538,7 @@ export function PopupRoot({ const [configName, setConfigName] = useState(getPref("configName")); function selectConfig(config: Config) { setShowConfig(false); - setPref("show-config", false) + setPref("show-config", false); setConfigName(config.configName); setPref("configName", config.configName); setBgColor(config.bgColor); @@ -600,713 +600,712 @@ export function PopupRoot({ // setTimeout(() => setShowConfig(true)); } - const handleContentDiv = React.useCallback(() => ( -