From 6c11efd7b871769f6fedf238b522df8b35d77109 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Wed, 27 Mar 2024 17:47:58 -0600 Subject: [PATCH] fix(first fix): for testing --- src/customHooks/useAddOn/index.ts | 3 +++ 1 file changed, 3 insertions(+) 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"> ) {