diff --git a/com.twin.app.shoptime/src/components/TDropDown/TDropDown.jsx b/com.twin.app.shoptime/src/components/TDropDown/TDropDown.jsx index cf5e5cb1..5c6736a9 100644 --- a/com.twin.app.shoptime/src/components/TDropDown/TDropDown.jsx +++ b/com.twin.app.shoptime/src/components/TDropDown/TDropDown.jsx @@ -1,12 +1,15 @@ -import React, { memo, useCallback } from "react"; +import React, { + memo, + useCallback, +} from 'react'; -import classNames from "classnames"; +import classNames from 'classnames'; -import DropDown from "@enact/sandstone/Dropdown"; +import DropDown from '@enact/sandstone/Dropdown'; -import { countryCode } from "../../api/apiConfig"; -import useScrollReset from "../../hooks/useScrollReset"; -import css from "./TDropDown.module.less"; +import { countryCode } from '../../api/apiConfig'; +import useScrollReset from '../../hooks/useScrollReset'; +import css from './TDropDown.module.less'; export default memo(function TDropDown({ children, @@ -35,16 +38,12 @@ export default memo(function TDropDown({ onClose(); } }, [onClose]); - - const _onChange = useCallback((event) => { - console.log('[TDropDown] 🔥 _onChange 호출됨! event:', event); - console.log('[TDropDown] event.selected:', event.selected); - console.log('[TDropDown] onSelect 콜백 존재:', !!onSelect); + + const _onSelect = useCallback((event) => { if (onSelect) { - console.log('[TDropDown] ✅ onSelect 콜백 실행 중...'); onSelect({ selected: event.selected }); } - }, [onSelect]); + }, [onSelect]); return ( ); -}); +}); \ No newline at end of file