Skip to content

Commit

Permalink
content-script-main.js doesn't export main
Browse files Browse the repository at this point in the history
  • Loading branch information
praschke committed Nov 4, 2023
1 parent 4f8528a commit ba7950a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/js/app/content-script-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
(async () => {
const src = chrome.runtime.getURL('js/app/content-script-main.js');
// eslint-disable-next-line no-unsanitized/method
const contentMain = await import(src);
contentMain.main();
await import(src);
})();

0 comments on commit ba7950a

Please sign in to comment.