Skip to content
Snippets Groups Projects
Commit 743a8bd6 authored by 김 도형's avatar 김 도형
Browse files

Merge branch 'frontest-dohyeong' into 'main'

edit SignUp.js

See merge request !43
parents 94421505 bbf49638
No related branches found
No related tags found
1 merge request!43edit SignUp.js
......@@ -80,6 +80,7 @@ function SignUp(){
if (response.ok) {
// 업로드 성공시, 서버에서 반환된 이미지 URL을 받음
const imageUrl = data.image_url;
return imageUrl
} else {
console.error(data.error);
alert(data.error);
......@@ -87,6 +88,8 @@ function SignUp(){
} catch (error) {
console.log(error);
}
}
const handleSubmit = async (e) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment