this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Prevent the extra call if posts = 0

+3 -2
+3 -2
src/components/account-info.jsx
··· 304 304 ({ relationship, currentID }) => { 305 305 if (!relationship.following) { 306 306 renderFamiliarFollowers(currentID); 307 - if (!standalone) { 307 + if (!standalone && statusesCount > 0) { 308 + // Only render posting stats if not standalone and has posts 308 309 renderPostingStats(); 309 310 } 310 311 } 311 312 }, 312 - [standalone, id], 313 + [standalone, id, statusesCount], 313 314 ); 314 315 315 316 return (