mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-29 22:07:46 +03:00
updated state on comments prop update
This commit is contained in:
parent
f69b70ced3
commit
116148b82a
@ -66,6 +66,10 @@ const CommentsContainer = ({
|
|||||||
}, [commentCount, selectedFilter]);
|
}, [commentCount, selectedFilter]);
|
||||||
|
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
setPropComments(comments);
|
||||||
|
}, [comments]);
|
||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const postPath = `${author || ''}/${permlink || ''}`;
|
const postPath = `${author || ''}/${permlink || ''}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user