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

edit SignUp.js

parent 94421505
Branches
No related tags found
1 merge request!43edit SignUp.js
...@@ -80,6 +80,7 @@ function SignUp(){ ...@@ -80,6 +80,7 @@ function SignUp(){
if (response.ok) { if (response.ok) {
// 업로드 성공시, 서버에서 반환된 이미지 URL을 받음 // 업로드 성공시, 서버에서 반환된 이미지 URL을 받음
const imageUrl = data.image_url; const imageUrl = data.image_url;
return imageUrl
} else { } else {
console.error(data.error); console.error(data.error);
alert(data.error); alert(data.error);
...@@ -87,6 +88,8 @@ function SignUp(){ ...@@ -87,6 +88,8 @@ function SignUp(){
} catch (error) { } catch (error) {
console.log(error); console.log(error);
} }
}
const handleSubmit = async (e) => { 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