Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
bora-it
Commits
477e56fd
Commit
477e56fd
authored
Jul 24, 2021
by
seoyeon
Browse files
merge
parent
3b2c3948
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/components/SignUp.js
View file @
477e56fd
...
@@ -42,18 +42,10 @@ const Signup = () => {
...
@@ -42,18 +42,10 @@ const Signup = () => {
async
function
handleSubmit
()
{
async
function
handleSubmit
()
{
try
{
try
{
<<<<<<<
HEAD
const
data
=
await
userApi
.
signup
(
user
)
// const data = await axios.post("https://localhost:8080/api/room/1/1",user)
setLoading
(
true
);
setError
(
""
);
// const success = await login(user.email, user.password);
=======
const
data
=
await
axios
.
post
(
"
/api/room/1/1
"
,
user
)
const
data
=
await
axios
.
post
(
"
/api/room/1/1
"
,
user
)
// setLoading(true);
// setLoading(true);
// setError("");
// setError("");
// const success = await login(user.email, user.password);
// const success = await login(user.email, user.password);
>>>>>>>
origin
/
master
console
.
log
(
data
);
console
.
log
(
data
);
// sestSuccess(success);
// sestSuccess(success);
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment