diff --git a/src/pages/PayPage/CreateRequestPage.tsx b/src/pages/PayPage/CreateRequestPage.tsx index 8c1fd2a..1c9db95 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(() => { @@ -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) => {