[SHOPTIME-3813] [SHOPTIME-3920] [결제가능상태]My Info > Terms of Services (운영환경 testing모드)
수정 내용: getShoptimeTerms 호출 위치 변경
This commit is contained in:
@@ -71,6 +71,7 @@ const disableConsole = () => {
|
|||||||
console.warn = function () {};
|
console.warn = function () {};
|
||||||
console.info = function () {};
|
console.info = function () {};
|
||||||
};
|
};
|
||||||
|
|
||||||
const originFocus = Spotlight.focus;
|
const originFocus = Spotlight.focus;
|
||||||
Spotlight.focus = function (elem, containerOption) {
|
Spotlight.focus = function (elem, containerOption) {
|
||||||
const ret = originFocus.apply(this, [elem, containerOption]); // this 바인딩을 유지하여 originFocus 호출
|
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;
|
httpHeaderRef.current = httpHeader;
|
||||||
}
|
}
|
||||||
loginUserDataRef.current = loginUserData;
|
loginUserDataRef.current = loginUserData;
|
||||||
}, [httpHeader, deviceId, webOSVersion]);
|
}, [httpHeader, deviceId]);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (
|
||||||
|
webOSVersion &&
|
||||||
|
Number(webOSVersion) >= 6 &&
|
||||||
|
deviceCountryCode &&
|
||||||
|
deviceCountryCode === "US"
|
||||||
|
) {
|
||||||
|
dispatch(getShoptimeTerms());
|
||||||
|
}
|
||||||
|
}, [webOSVersion]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log("App.js introTermsAgree", introTermsAgree);
|
console.log("App.js introTermsAgree", introTermsAgree);
|
||||||
|
|||||||
Reference in New Issue
Block a user