[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.info = function () {};
|
||||
};
|
||||
|
||||
const originFocus = Spotlight.focus;
|
||||
Spotlight.focus = function (elem, containerOption) {
|
||||
const ret = originFocus.apply(this, [elem, containerOption]); // this 바인딩을 유지하여 originFocus 호출
|
||||
@@ -315,7 +316,12 @@ function AppBase(props) {
|
||||
})
|
||||
);
|
||||
|
||||
// EMP Shoptime 선택 약관 조회
|
||||
httpHeaderRef.current = httpHeader;
|
||||
}
|
||||
loginUserDataRef.current = loginUserData;
|
||||
}, [httpHeader, deviceId]);
|
||||
|
||||
useEffect(() => {
|
||||
if (
|
||||
webOSVersion &&
|
||||
Number(webOSVersion) >= 6 &&
|
||||
@@ -324,10 +330,7 @@ function AppBase(props) {
|
||||
) {
|
||||
dispatch(getShoptimeTerms());
|
||||
}
|
||||
httpHeaderRef.current = httpHeader;
|
||||
}
|
||||
loginUserDataRef.current = loginUserData;
|
||||
}, [httpHeader, deviceId, webOSVersion]);
|
||||
}, [webOSVersion]);
|
||||
|
||||
useEffect(() => {
|
||||
console.log("App.js introTermsAgree", introTermsAgree);
|
||||
|
||||
Reference in New Issue
Block a user