diff --git a/apps/synapse-portal-framework/src/components/AppInitializer.tsx b/apps/synapse-portal-framework/src/components/AppInitializer.tsx index 64c78122857..5ad541f0441 100644 --- a/apps/synapse-portal-framework/src/components/AppInitializer.tsx +++ b/apps/synapse-portal-framework/src/components/AppInitializer.tsx @@ -29,6 +29,7 @@ function AppInitializer(props: React.PropsWithChildren>) { * back to this portal after visiting www.synapse.org. */ function updateSynapseCallbackCookie(ev: MouseEvent) { + debugger if (!cookies || !cookiePreferences.functionalAllowed) { return } @@ -95,7 +96,7 @@ function AppInitializer(props: React.PropsWithChildren>) { maxAge: 20, }) } - + debugger window.addEventListener('click', updateSynapseCallbackCookie) // Clean up the global listener on component unmount.