Skip to content

Commit

Permalink
fix: track js issue (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-deriv authored Nov 14, 2024
1 parent 24c41d7 commit 7687379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/custom-hooks/useFreshchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
import { useScript } from 'usehooks-ts';

const useFreshChat = (token: string | null) => {
const scriptStatus = useScript('https://static.deriv.com/scripts/freshchat/freshchat-1.0.1.js');
const scriptStatus = useScript('https://static.deriv.com/scripts/freshchat/v1.0.2.js');
const [isReady, setIsReady] = useState(false);
const language = localStorage.getItem('i18n_language') || 'EN';

Expand Down

0 comments on commit 7687379

Please sign in to comment.