Skip to content

Commit

Permalink
fix: update script url
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 7, 2024
1 parent 661870a commit 58a896d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/app/hooks/useFreshChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useScript } from 'usehooks-ts';
import useGrowthbookGetFeatureValue from './useGrowthbookGetFeatureValue';

const useFreshChat = (token) => {
const scriptStatus = useScript('https://static.deriv.com/scripts/freshchat-1.0.1.js');
const scriptStatus = useScript('https://static.deriv.com/scripts/freshchat/freshchat-1.0.1.js');
const [isReady, setIsReady] = useState(false);
const [isFreshChatEnabled] = useGrowthbookGetFeatureValue({
featureFlag: 'enable_freshworks_live_chat',
Expand Down

0 comments on commit 58a896d

Please sign in to comment.