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
51cf5545
Commit
51cf5545
authored
Aug 11, 2021
by
우지원
Browse files
alert 수정
parent
4178bed0
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/pages/InvitePage.js
View file @
51cf5545
...
@@ -49,10 +49,10 @@ const InvitePage = () => {
...
@@ -49,10 +49,10 @@ const InvitePage = () => {
if
(
check
===
true
)
{
if
(
check
===
true
)
{
joinroom
(
usercheck
,
roomId
);
joinroom
(
usercheck
,
roomId
);
window
.
alert
(
"
방 참여가 완료되었습니다.
"
);
alert
(
"
방 참여가 완료되었습니다.
"
);
window
.
location
.
href
=
`/user/
${
usercheck
}
`
window
.
location
.
href
=
`/user/
${
usercheck
}
`
}
else
{
}
else
{
window
.
alert
(
"
로그인이 필요합니다.
"
);
alert
(
"
로그인이 필요합니다.
"
);
window
.
location
.
href
=
`/`
;
window
.
location
.
href
=
`/`
;
}
}
}
}
...
@@ -63,10 +63,10 @@ const InvitePage = () => {
...
@@ -63,10 +63,10 @@ const InvitePage = () => {
else
check
=
true
;
else
check
=
true
;
if
(
check
===
true
)
{
if
(
check
===
true
)
{
window
.
alert
(
"
유저 페이지로 이동합니다.
"
);
alert
(
"
유저 페이지로 이동합니다.
"
);
window
.
location
.
href
=
`/user/
${
usercheck
}
`
;
window
.
location
.
href
=
`/user/
${
usercheck
}
`
;
}
else
{
}
else
{
window
.
alert
(
"
로그인이 필요합니다.
"
);
alert
(
"
로그인이 필요합니다.
"
);
window
.
location
.
href
=
`/`
;
window
.
location
.
href
=
`/`
;
}
}
}
}
...
...
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