diff --git a/src/customHooks/useAddOn/index.ts b/src/customHooks/useAddOn/index.ts index 9224a08..45b56b9 100644 --- a/src/customHooks/useAddOn/index.ts +++ b/src/customHooks/useAddOn/index.ts @@ -7,7 +7,10 @@ import { downloadBase64 } from "../../helpers/files"; export default function useAddOn() { const [state, setState] = useState([]); + useEffect(() => { + console.log('Hello world :)') + browser.runtime.onMessage.addListener(function ( message: MessageBrowserActions<"crawledContent"> ) {