Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
messenger
Commits
1ab78157
Commit
1ab78157
authored
Jan 22, 2021
by
JeongYeonwoo
Browse files
채팅에서 프로필 구분
parent
0c3abc4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/Components/Chat.js
View file @
1ab78157
...
...
@@ -5,8 +5,6 @@ import { isAuthenticated } from '../utils/auth';
import
catchErrors
from
'
../utils/catchErrors
'
;
function
Chat
(
props
)
{
// let defaultname = sessionStorage.getItem('name');
const
[
sender
,
setSender
]
=
useState
([])
const
[
inner
,
setInner
]
=
useState
([
''
])
...
...
@@ -39,7 +37,6 @@ function Chat(props) {
props
.
setSingleImg
(
user
.
profileimg
)
props
.
setSingleUser
(
user
.
nickname
)
// props.setSingleUser(sessionStorage.getItem('name'))
props
.
setSingleChat
(
inner
)
props
.
sendMsg
(
e
)
...
...
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