diff --git a/.env.development b/.env.development index c8a3ab5..9d7881a 100644 --- a/.env.development +++ b/.env.development @@ -4,4 +4,7 @@ NEXT_PUBLIC_API_URL=http://localhost:3000 #qsp 로그인 api -NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 \ No newline at end of file +NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 + +#1:1문의 api +NEXT_PUBLIC_INQUIRY_API_URL=http://1.248.227.176:38080 \ No newline at end of file diff --git a/.env.production b/.env.production index 1d169db..3d04f51 100644 --- a/.env.production +++ b/.env.production @@ -2,4 +2,7 @@ NEXT_PUBLIC_API_URL=http://172.30.1.35:3000 #qsp 로그인 api -NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 \ No newline at end of file +NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 + +#1:1문의 api +NEXT_PUBLIC_INQUIRY_API_URL=http://1.248.227.176:38080 \ No newline at end of file diff --git a/src/components/ui/common/DoubleBtnAlert.tsx b/src/components/ui/common/DoubleBtnAlert.tsx index 43129b7..fed3be5 100644 --- a/src/components/ui/common/DoubleBtnAlert.tsx +++ b/src/components/ui/common/DoubleBtnAlert.tsx @@ -1,10 +1,19 @@ 'use client' import { usePopupController } from '@/store/popupController' -import React from 'react' export default function DoubleBtnAlert() { - const { alertMsg, alert2BtnYes, alert2BtnNo } = usePopupController() + const { alertMsg, alert2BtnYes, alert2BtnNo, setAlert2 } = usePopupController() + + const handleAlert2BtnYes = () => { + alert2BtnYes() + setAlert2(false) + } + + const handleAlert2BtnNo = () => { + alert2BtnNo() + setAlert2(false) + } return (