We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9e448 commit b705410Copy full SHA for b705410
src/Translate/index.tsx
@@ -38,6 +38,7 @@ export const XTranslate = () => {
38
script.defer = true;
39
script.crossOrigin = 'anonymous';
40
// https:/translate.google.com/translate_a/element.js?cb=loadGoogleTranslate
41
+ // script.src = `//cdn.hocgin.top/icons/gtranslate.js?&cb=GoogleTranslateElementInit`;
42
script.src = `//translate.google.com/translate_a/element.js?&cb=GoogleTranslateElementInit`;
43
script.onload = onload;
44
script.onerror = console.warn;
0 commit comments