Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -49,7 +49,7 @@ export default withRouter(({ location }) => { | ... | @@ -49,7 +49,7 @@ export default withRouter(({ location }) => { |
49 | console.error(msgQueryError); | 49 | console.error(msgQueryError); |
50 | } | 50 | } |
51 | if (messageArr) { | 51 | if (messageArr) { |
52 | - setMessageArr(messageArr.seeAllMessage); | 52 | + setMessageArr(messageArr.seeAllMessage, [msgQueryError, messageArr]); |
53 | } | 53 | } |
54 | }, [msgQueryyLoading]); | 54 | }, [msgQueryyLoading]); |
55 | 55 | ... | ... |
-
Please register or login to post a comment