NotificationsTab
This commit is contained in:
@@ -17,6 +17,9 @@ let Profile = ({ navigation, route }) => {
|
||||
let r = await API.getMe();
|
||||
setMeProfile(r);
|
||||
if (route.params && route.params.profileid) {
|
||||
API.getUserProfile(route.params.profileid).then(({profile}) => {
|
||||
navigation.setOptions({ title: profile.firstName + " " + profile.lastName });
|
||||
});
|
||||
API.getPosts(route.params.profileid).then((data) => {
|
||||
setPosts(data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user