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
32664664
Commit
32664664
authored
Jul 28, 2021
by
우지원
Browse files
e
parent
f1611990
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/context/auth.js
View file @
32664664
...
@@ -2,8 +2,6 @@ import axios from 'axios'
...
@@ -2,8 +2,6 @@ import axios from 'axios'
export
function
handleLogin
(
userId
)
{
export
function
handleLogin
(
userId
)
{
localStorage
.
setItem
(
"
user
"
,
userId
)
localStorage
.
setItem
(
"
user
"
,
userId
)
const
roomId
=
'
1234567890
'
localStorage
.
setItem
(
"
room
"
,
roomId
)
}
}
export
async
function
handleLogout
()
{
export
async
function
handleLogout
()
{
...
...
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