I have a React theme I’ve made. I’ve got local development working and I can upload it to the HubSpot sandbox and see that it’s there. However, when the page loads, there’s a ‘useEffect’ in there that should go out and get data to populate the widget. It is never called. I have a log before useEffect that gets printed and a log after useEffect that gets printed and both show up, but even if I delete everything in the useEffect block except a log statement, the log is never printed. Also, onClick doesn’t seem to be working in my theme either. Any help would be appreciated.
Hey @PMunger4 - thanks for posting in the Community!
I’d like to tag in some experts here to see if they have any insight on this! @Kevin-C, @stefen, and @Stephanie-OG - any thoughts for @PMunger4?
Shane, Community Manager
Hi! @PMunger4, can you provide any console errors so we can check what the problem might be?