[국가코드체크] 에러코드로 변경

This commit is contained in:
sungmin.in
2024-07-10 15:50:37 +09:00
parent c3e70f3188
commit ee41ef24bd

View File

@@ -189,15 +189,15 @@ export default function MainView({ className }) {
</>
);
} else if (isHomeOnTop) {
return activePopup === Config.ACTIVE_POPUP.changeCountyPopup ||
activePopup === Config.ACTIVE_POPUP.unSupportedCountryPopup ? null : (
return errorCode === 602 ||
errorCode === 603 ||
errorCode === 502 ? null : (
<HomePanel isOnTop={isHomeOnTop} />
);
// return <HomePanel isOnTop={isHomeOnTop} />;
}
return null;
}, [panels, tabActivated, isHomeOnTop]);
}, [panels, tabActivated, isHomeOnTop, errorCode]);
const onTabActivated = useCallback((activated) => {
setTabActivated(activated);