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 };