Skip to content

Commit

Permalink
Fix hubspot resize code
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyec committed Sep 19, 2024
1 parent d8e9345 commit 880e8b9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/hubspot/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ const usePluginResizeObserver = (ref: React.RefObject<HTMLDivElement>) => {
height,
})
}, [width, height])

useEffect(() => {
if (!tokens?.access_token) {
resize('short');
}
}, [resize, tokens?.access_token]);
}

export function App() {
Expand Down

0 comments on commit 880e8b9

Please sign in to comment.