Commit 1ab78157 authored by JeongYeonwoo's avatar JeongYeonwoo
Browse files

채팅에서 프로필 구분

parent 0c3abc4c
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment