Skip to content

Commit

Permalink
[feat] api 연동 완료
Browse files Browse the repository at this point in the history
  • Loading branch information
candosh committed Feb 17, 2024
1 parent 99175d3 commit fad67ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pages/Registration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ const Registration = () => {
console.log("Image uploaded successfully:", response.data);
navigate("/research");
} catch (error) {
console.log("FormData to be sent:", Array.from(formData.entries()));

console.error("Error during the fetch operation:", error);
}
};
Expand Down Expand Up @@ -194,8 +196,8 @@ const Registration = () => {
onChange={(e) => setGender(e.target.value)}
>
<option value="">Please select</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="M">Male</option>
<option value="F">Female</option>
</S.ContentInput>
</S.ContentContainer>
<S.ContentContainer>
Expand Down

0 comments on commit fad67ba

Please sign in to comment.