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
messenger
Commits
8447fada
Commit
8447fada
authored
Jan 09, 2021
by
우지원
Browse files
alert 추가
parent
b84511b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/Pages/LogInPage.js
View file @
8447fada
...
@@ -63,6 +63,7 @@ function LogIn() {
...
@@ -63,6 +63,7 @@ function LogIn() {
//success시 링크이동
//success시 링크이동
if
(
success
)
{
if
(
success
)
{
console
.
log
(
'
success
'
,
success
)
console
.
log
(
'
success
'
,
success
)
alert
(
'
로그인 되었습니다!
'
)
return
<
Redirect
to
=
'
/
'
/>
return
<
Redirect
to
=
'
/
'
/>
}
}
...
...
client/src/Pages/SignUpPage.js
View file @
8447fada
...
@@ -71,6 +71,7 @@ function SingUp() {
...
@@ -71,6 +71,7 @@ function SingUp() {
if
(
success
)
{
if
(
success
)
{
console
.
log
(
'
success
'
,
success
)
console
.
log
(
'
success
'
,
success
)
alert
(
'
회원가입이 완료되었습니다!
'
)
return
<
Redirect
to
=
'
/login
'
/>
return
<
Redirect
to
=
'
/login
'
/>
}
}
...
...
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