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
Hide whitespace changes
Inline
Side-by-side
client/src/components/SignUp.js
View file @
477e56fd
...
...
@@ -42,18 +42,10 @@ const Signup = () => {
async
function
handleSubmit
()
{
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
)
// setLoading(true);
// setError("");
// const success = await login(user.email, user.password);
>>>>>>>
origin
/
master
console
.
log
(
data
);
// sestSuccess(success);
}
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