From 3c49242722cf75f7eef0c26ba18cbe885e8366b5 Mon Sep 17 00:00:00 2001 From: "junghoon86.park" Date: Fri, 7 Nov 2025 14:03:19 +0900 Subject: [PATCH] =?UTF-8?q?[=EA=B8=80=EB=A1=9C=EB=B2=8C=ED=8C=9D=EC=97=85]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 현재 기존 팝업과 같은 노출구조로 되어있어 우선 false 처리 --- .../components/GlobalPopup/GlobalPopup.jsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/com.twin.app.shoptime/src/components/GlobalPopup/GlobalPopup.jsx b/com.twin.app.shoptime/src/components/GlobalPopup/GlobalPopup.jsx index a95df7b3..e9627f02 100644 --- a/com.twin.app.shoptime/src/components/GlobalPopup/GlobalPopup.jsx +++ b/com.twin.app.shoptime/src/components/GlobalPopup/GlobalPopup.jsx @@ -4,12 +4,20 @@ * 기존 TPopUp과 완전히 호환 */ -import React, { useMemo, useCallback } from 'react'; -import { useSelector, useDispatch } from 'react-redux'; -import TPopUp from '../TPopUp/TPopUp'; -import { getPopupConfig } from '../../constants/popupConfig'; +import React, { + useCallback, + useMemo, +} from 'react'; + +import { + useDispatch, + useSelector, +} from 'react-redux'; + import { setHidePopup } from '../../actions/commonActions'; +import { getPopupConfig } from '../../constants/popupConfig'; import usePrevious from '../../hooks/usePrevious'; +import TPopUp from '../TPopUp/TPopUp'; // 커스텀 훅: 팝업 상태 관리 const useGlobalPopupState = () => { @@ -135,7 +143,8 @@ const GlobalPopup = () => { const baseProps = { kind: currentConfig.kind, - open: popupVisible, + // open: popupVisible, //우선 주석처리 추후 조건에 맞게 변경처리 예정. + open: false, onClose: handlers.handleClose, className: currentConfig.className };