From 8538a4a57cf51e28fd1b959226879142ea7ad6d0 Mon Sep 17 00:00:00 2001 From: YangJJune <58018839+YangJJune@users.noreply.github.com> Date: Tue, 20 Aug 2024 14:38:50 +0900 Subject: [PATCH 1/2] =?UTF-8?q?bug=20:=20=20bankName=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=EA=B0=92=20=EC=97=86=EC=96=B4=EC=84=9C=20=EC=83=9D=EA=B8=B0?= =?UTF-8?q?=EB=8A=94=20=EC=9D=B4=EC=8A=88=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/PayPage/CreateRequestPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/PayPage/CreateRequestPage.tsx b/src/pages/PayPage/CreateRequestPage.tsx index 8c1fd2a..8b70967 100644 --- a/src/pages/PayPage/CreateRequestPage.tsx +++ b/src/pages/PayPage/CreateRequestPage.tsx @@ -71,7 +71,7 @@ const CreateRequestPage1 = ({ setBankName: React.Dispatch>; }) => { const [bankData, setBankData] = useState([]); - const [bankValue, setBankValue] = useState(""); + const [bankValue, setBankValue] = useState("국민은행"); const [acc, setAcc] = useState(""); useEffect(() => { From 0061fd558aeae85fe2dcd2fb8d029d0f285c5407 Mon Sep 17 00:00:00 2001 From: YangJJune <58018839+YangJJune@users.noreply.github.com> Date: Tue, 20 Aug 2024 14:49:20 +0900 Subject: [PATCH 2/2] =?UTF-8?q?bug=20:=20checkUsers=20state=20=EC=B4=88?= =?UTF-8?q?=EA=B8=B0=ED=99=94=20=EC=95=88=20=EB=90=98=EC=84=9C=20=EC=83=9D?= =?UTF-8?q?=EA=B8=B4=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/PayPage/CreateRequestPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/PayPage/CreateRequestPage.tsx b/src/pages/PayPage/CreateRequestPage.tsx index 8b70967..1c9db95 100644 --- a/src/pages/PayPage/CreateRequestPage.tsx +++ b/src/pages/PayPage/CreateRequestPage.tsx @@ -155,10 +155,10 @@ const CreateRequestPage2 = ({ useEffect(() => { const id = Number(localStorage.getItem("spaceId")); + setCheckUsers(new Set()); + getAllMemberApi(id, setUserInfoData); - getAllChatMemberApi(id, setChatUserInfoData).then((res) => - console.log("chatUser", chatUserInfoData), - ); + getAllChatMemberApi(id, setChatUserInfoData); }, []); const checkUserHandler = (id: number) => {