From 973c1043f7fbc4200710727ab0b96c87370f4a60 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Sat, 20 Feb 2021 13:39:00 -0500 Subject: navigation to profile screen --- src/screens/suggestedPeople/SuggestedPeopleScreen.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx index d047d038..195604a3 100644 --- a/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx +++ b/src/screens/suggestedPeople/SuggestedPeopleScreen.tsx @@ -11,6 +11,7 @@ import { View, } from 'react-native'; import {Image} from 'react-native-animatable'; +import {TouchableOpacity} from 'react-native-gesture-handler'; import Animated from 'react-native-reanimated'; import {useDispatch, useSelector, useStore} from 'react-redux'; import {TabsGradient, TaggsBar} from '../../components'; @@ -174,10 +175,17 @@ const SuggestedPeopleScreen: React.FC = () => { - + { + navigation.push('Profile', { + userXId: data.user.id, + screenType, + }); + }} + style={styles.nameInfoContainer}> {data.user.first_name} @{data.user.username} - + {/* TODO: Finish me ?! */} {/*