|
@@ -4,11 +4,17 @@ import {ROUTE_PATH} from "@constants/routes";
|
|
|
import React, {useEffect, useRef} from "react";
|
|
import React, {useEffect, useRef} from "react";
|
|
|
import {stringFormat} from "@utils/helpers";
|
|
import {stringFormat} from "@utils/helpers";
|
|
|
const i18n=global.i18n;
|
|
const i18n=global.i18n;
|
|
|
|
|
+const objInfo={
|
|
|
|
|
+ isInit:false
|
|
|
|
|
+}
|
|
|
const Footer=()=>{
|
|
const Footer=()=>{
|
|
|
const anjRef = useRef(null);
|
|
const anjRef = useRef(null);
|
|
|
useEffect(()=>{
|
|
useEffect(()=>{
|
|
|
- if(window.anj_75ede18c_13d5_4b2c_ae69_043e5c00f765){
|
|
|
|
|
- window.anj_75ede18c_13d5_4b2c_ae69_043e5c00f765.init()
|
|
|
|
|
|
|
+ if (!objInfo.isInit){
|
|
|
|
|
+ if(window.anj_75ede18c_13d5_4b2c_ae69_043e5c00f765){
|
|
|
|
|
+ window.anj_75ede18c_13d5_4b2c_ae69_043e5c00f765.init()
|
|
|
|
|
+ objInfo.isInit=true;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
},[])
|
|
},[])
|
|
|
useEffect(()=>{
|
|
useEffect(()=>{
|