Double Navigation Stacks

This commit is contained in:
aeroreyna
2022-03-11 22:00:56 -08:00
parent 4ee4126ecb
commit 7245c448d4
3 changed files with 35 additions and 21 deletions

View File

@@ -36,6 +36,8 @@ let Feed = ({ navigation, route }) => {
//console.log(posts)
}, [route.params]);
const renderPost = (({ item }) => {
if(item.nonOrganicType === 'PopularUsers' || item.nonOrganicType === 'PopularGroups')
return (<></>);
return (<Post post={item} viewer={Me} />);
});