Skip to content

Commit 7225539

Browse files
committed
Set loadWhenIdle to true by default
1 parent 09f4c6d commit 7225539

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/HubSpot/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const HubSpot = ({
4343
backgroundColor?: string
4444
loader?: ReactElement
4545
}): JSX.Element | null => {
46-
const [state, loadChat] = useChat({ loadWhenIdle: false })
46+
const [state, loadChat] = useChat({ loadWhenIdle: true })
4747
const [isLoading, setIsLoading] = useState(false)
4848
if (state === 'complete') {
4949
return null

0 commit comments

Comments
 (0)