mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
updated state on comments prop update
This commit is contained in:
parent
f69b70ced3
commit
116148b82a
@ -65,6 +65,10 @@ const CommentsContainer = ({
|
|||||||
setLComments(shortedComments);
|
setLComments(shortedComments);
|
||||||
}, [commentCount, selectedFilter]);
|
}, [commentCount, selectedFilter]);
|
||||||
|
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
setPropComments(comments);
|
||||||
|
}, [comments]);
|
||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user