From d12c90bf28b412bc6da802c0790de3f1961922fe Mon Sep 17 00:00:00 2001 From: aeroreyna Date: Sat, 26 Mar 2022 23:24:21 -0700 Subject: [PATCH] Fix profile load on empty --- Views/Profile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Views/Profile.js b/Views/Profile.js index a441123..ee9731a 100644 --- a/Views/Profile.js +++ b/Views/Profile.js @@ -65,8 +65,7 @@ let Profile = ({ navigation, route }) => { return ( - {Posts.length === 0 && } - {Posts.length !== 0 && + {(Posts.length !== 0 || profile._id) &&