diff --git a/packages/core/src/App/Components/Elements/LiveChat/use-freshchat.ts b/packages/core/src/App/Components/Elements/LiveChat/use-freshchat.ts index 5afd4c8d80a0..e7bf129aacff 100644 --- a/packages/core/src/App/Components/Elements/LiveChat/use-freshchat.ts +++ b/packages/core/src/App/Components/Elements/LiveChat/use-freshchat.ts @@ -1,9 +1,10 @@ import { useEffect, useState } from 'react'; import { useScript } from 'usehooks-ts'; + import { useGrowthbookGetFeatureValue } from '@deriv/hooks'; const useFreshChat = (token: string | null) => { - const scriptStatus = useScript('https://static.deriv.com/scripts/freshchat.js'); + const scriptStatus = useScript('https://static.deriv.com/scripts/freshchat/v1.0.3.js'); const [isReady, setIsReady] = useState(false); const [enable_freshworks_live_chat, isGBLoaded] = useGrowthbookGetFeatureValue({ featureFlag: 'enable_freshworks_live_chat',