[SHOPTIME-3813] [SHOPTIME-3920] [결제가능상태]My Info > Terms of Services (운영환경 testing모드)

수정 내용: getShoptimeTerms 호출 위치 변경
This commit is contained in:
hyunwoo93.cha
2025-01-08 17:29:23 +09:00
parent 2c9ed92d23
commit abb5018713

View File

@@ -71,6 +71,7 @@ const disableConsole = () => {
console.warn = function () {};
console.info = function () {};
};
const originFocus = Spotlight.focus;
Spotlight.focus = function (elem, containerOption) {
const ret = originFocus.apply(this, [elem, containerOption]); // this 바인딩을 유지하여 originFocus 호출
@@ -315,19 +316,21 @@ function AppBase(props) {
})
);
// EMP Shoptime 선택 약관 조회
if (
webOSVersion &&
Number(webOSVersion) >= 6 &&
deviceCountryCode &&
deviceCountryCode === "US"
) {
dispatch(getShoptimeTerms());
}
httpHeaderRef.current = httpHeader;
}
loginUserDataRef.current = loginUserData;
}, [httpHeader, deviceId, webOSVersion]);
}, [httpHeader, deviceId]);
useEffect(() => {
if (
webOSVersion &&
Number(webOSVersion) >= 6 &&
deviceCountryCode &&
deviceCountryCode === "US"
) {
dispatch(getShoptimeTerms());
}
}, [webOSVersion]);
useEffect(() => {
console.log("App.js introTermsAgree", introTermsAgree);