From 880e8b9745dd5d9dbef7a07616cc3c06c64c50d4 Mon Sep 17 00:00:00 2001 From: Anthony Cossins <1451668+anthonyec@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:07:47 +0100 Subject: [PATCH] Fix hubspot resize code --- plugins/hubspot/src/App.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/hubspot/src/App.tsx b/plugins/hubspot/src/App.tsx index 912b9b99..389959c3 100644 --- a/plugins/hubspot/src/App.tsx +++ b/plugins/hubspot/src/App.tsx @@ -26,12 +26,6 @@ const usePluginResizeObserver = (ref: React.RefObject) => { height, }) }, [width, height]) - - useEffect(() => { - if (!tokens?.access_token) { - resize('short'); - } - }, [resize, tokens?.access_token]); } export function App() {