mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-09-13 23:43:31 -06:00
new ui using the options page
This commit is contained in:
11
src/background/messages/openOptionPage.ts
Normal file
11
src/background/messages/openOptionPage.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { PlasmoMessaging } from "@plasmohq/messaging";
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||
chrome.runtime.openOptionsPage(() => {
|
||||
if (chrome.runtime.lastError) {
|
||||
console.error(chrome.runtime.lastError);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
export default handler;
|
Reference in New Issue
Block a user