[글로벌팝업]
- 현재 기존 팝업과 같은 노출구조로 되어있어 우선 false 처리
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user