Adding change of profiles and Profile on tab bar
This commit is contained in:
@@ -96,7 +96,7 @@ let NewPostView = (props) => {
|
||||
API.newPost(postContent + " " + extraContent.join(" "), props.route.params?.toProfile).then((newPost) => {
|
||||
setPostContent('');
|
||||
setExtraContent([]);
|
||||
navigation.goBack();
|
||||
navigation.navigate('Feed', {reRender: Math.random()});
|
||||
//if (newPostCB) newPostCB(newPost);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user