Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-06-01 02:15:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dc70be39932355b6fb13cd759e3ea2735100e1fb
dc70be39
1 parent
f3a65caf
update Chat Container
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
front/src/Routes/Chat/ChatContainer.js
front/src/Routes/Chat/ChatContainer.js
View file @
dc70be3
...
...
@@ -9,6 +9,7 @@ import {
}
from
"./ChatQueries"
;
import
useInput
from
"../../Hooks/useInput"
;
import
{
toast
}
from
"react-toastify"
;
import
defaultProfile
from
"../imgs/defaultProfile.jpg"
;
export
default
withRouter
(({
location
})
=>
{
const
{
pathname
}
=
location
;
...
...
@@ -34,6 +35,10 @@ export default withRouter(({ location }) => {
variables
:
{
roomId
:
roomNum
},
});
if
(
messageList
!==
undefined
)
{
messageList
.
seeAllMessage
.
map
((
e
)
=>
{
if
(
e
.
sender
.
avatarUrl
===
""
)
{
}
});
messageArray
=
messageList
;
}
...
...
Please
register
or
login
to post a comment