diff --git a/src/content.js b/src/content.js index 794d15e..fc88916 100644 --- a/src/content.js +++ b/src/content.js @@ -4,8 +4,7 @@ import { MSG_TRANS_GETRULE, MSG_TRANS_PUTRULE, } from "./config"; -import { getRules, matchRule } from "./libs"; -import { getSetting } from "./libs"; +import { getSetting, getRules, matchRule } from "./libs"; import { Translator } from "./libs/translator"; /** diff --git a/src/userscript.js b/src/userscript.js index 35f2e53..e4bc71a 100644 --- a/src/userscript.js +++ b/src/userscript.js @@ -3,8 +3,7 @@ import ReactDOM from "react-dom/client"; import Action from "./views/Action"; import createCache from "@emotion/cache"; import { CacheProvider } from "@emotion/react"; -import { getRules, matchRule } from "./libs"; -import { getSetting } from "./libs"; +import { getSetting, getRules, matchRule } from "./libs"; import { Translator } from "./libs/translator"; /**