We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09f4c6d commit 7225539Copy full SHA for 7225539
1 file changed
src/components/HubSpot/index.tsx
@@ -43,7 +43,7 @@ const HubSpot = ({
43
backgroundColor?: string
44
loader?: ReactElement
45
}): JSX.Element | null => {
46
- const [state, loadChat] = useChat({ loadWhenIdle: false })
+ const [state, loadChat] = useChat({ loadWhenIdle: true })
47
const [isLoading, setIsLoading] = useState(false)
48
if (state === 'complete') {
49
return null
0 commit comments