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-03 23:55:03 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf974e8818ad66fd7e5952e16c6bd22899e6ee95
cf974e88
1 parent
b8883723
add useEffect dependencies
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
front/src/Routes/Chat/ChatContainer.js
front/src/Routes/Chat/ChatContainer.js
View file @
cf974e8
...
...
@@ -49,7 +49,7 @@ export default withRouter(({ location }) => {
console
.
error
(
msgQueryError
);
}
if
(
messageArr
)
{
setMessageArr
(
messageArr
.
seeAllMessage
);
setMessageArr
(
messageArr
.
seeAllMessage
,
[
msgQueryError
,
messageArr
]
);
}
},
[
msgQueryyLoading
]);
...
...
Please
register
or
login
to post a comment