diff --git a/com.twin.app.shoptime/src/views/MainView/MainView.jsx b/com.twin.app.shoptime/src/views/MainView/MainView.jsx index 692f209a..079ef292 100644 --- a/com.twin.app.shoptime/src/views/MainView/MainView.jsx +++ b/com.twin.app.shoptime/src/views/MainView/MainView.jsx @@ -673,7 +673,9 @@ export default function MainView({ className, initService }) { }, [dispatch, popupData, activePopup, topPanel?.name]); // 딥링크 확인 테스트 - const deepLinkInfo = useSelector((state) => state.common.deepLinkInfo); + const contentTarget = useSelector( + (state) => state.common.deepLinkInfo.contentTarget + ); return (
-
- 🔗 딥링크 디버그 정보 -
- - {/* contentTarget 정보 */} -
-
- 📱 Redux contentTarget: -
-
- {deepLinkInfo.contentTarget || "없음"} -
-
- isDeepLink: {deepLinkInfo.isDeepLink ? "true" : "false"} -
-
- - {/* launchParams 정보 */} -
-
- 📱 window.PalmSystem.launchParams: -
-
- {(() => { - try { - // window와 PalmSystem 존재 여부 확인 - if (typeof window !== "object") { - return "❌ window 객체 없음"; - } - - if (!window.PalmSystem) { - return "❌ PalmSystem 없음"; - } - - if (!window.PalmSystem.launchParams) { - return "❌ launchParams 없음 (undefined/null)"; - } - - if (window.PalmSystem.launchParams === "") { - return "❌ launchParams 빈 문자열"; - } - - // JSON 파싱 시도 - const parsed = JSON.parse(window.PalmSystem.launchParams); - return JSON.stringify(parsed, null, 2); - } catch (e) { - return `❌ 파싱 에러: ${e.message}\n원본 값: ${window.PalmSystem?.launchParams || "undefined"}`; - } - })()} -
-
+ deepLinkInfo +

{contentTarget}

+

+ {window.PalmSystem && window.PalmSystem.launchParams + ? JSON.parse(window.PalmSystem.launchParams) + : "N/A"} +

);