fix: App.js/applyTemplate -> default설정
This commit is contained in:
@@ -266,10 +266,10 @@ function AppBase(props) {
|
||||
// 앱 초기화가 완료된 후 템플릿 설정 적용
|
||||
if (httpHeaderRef.current) {
|
||||
const timer = setTimeout(() => {
|
||||
applyTemplate("eic-gb"); // eic 서버 + GB 국가
|
||||
// applyTemplate("eic-gb"); // eic 서버 + GB 국가
|
||||
// applyTemplate("aic-us"); // aic 서버 + US 국가
|
||||
// applyTemplate("ruc-ru"); // ruc 서버 + RU 국가
|
||||
// applyTemplate("default"); // 기본 설정 (system)
|
||||
applyTemplate("default"); // 기본 설정 (system)
|
||||
}, 2000); // 2초 후 적용
|
||||
|
||||
return () => clearTimeout(timer);
|
||||
|
||||
@@ -53,6 +53,7 @@ export default function TermsOfService({ title, cbScrollTo }) {
|
||||
|
||||
const { popupVisible } = useSelector((state) => state.common?.popup);
|
||||
const { optionalTermsAgree } = useSelector((state) => state.common);
|
||||
console.log("[TermsOfService] 현재 optionalTermsAgree 상태:", optionalTermsAgree);
|
||||
const termsData = useSelector((state) => state.home.termsData);
|
||||
const empTermsData = useSelector((state) => state.emp.empTermsData);
|
||||
const webOSVersion = useSelector(
|
||||
@@ -78,6 +79,7 @@ export default function TermsOfService({ title, cbScrollTo }) {
|
||||
// ✅ fetchCurrentUserHomeTerms 호출 제거 - TV 환경에서 서버 동기화 지연 방지
|
||||
|
||||
useEffect(() => {
|
||||
console.log("[TermsOfService] optionalTermsAgree 상태 변경:", optionalTermsAgree);
|
||||
setLocalOptionalTermsAgree(optionalTermsAgree);
|
||||
setIsOptionalChecked(optionalTermsAgree);
|
||||
}, [optionalTermsAgree]);
|
||||
|
||||
Reference in New Issue
Block a user