import {RouteProp} from '@react-navigation/native'; import React, {useEffect} from 'react'; import {StatusBar} from 'react-native'; import {Content, TabsGradient} from '../../components'; import {MainStackParams} from '../../routes/'; import {visitedUserProfile} from '../../services'; type ProfileScreenRouteProps = RouteProp; interface ProfileOnboardingProps { route: ProfileScreenRouteProps; } const ProfileScreen: React.FC = ({route}) => { const {screenType} = route.params; let {userXId} = route.params; useEffect(() => { if (userXId) { visitedUserProfile(userXId); } }); return ( <> ); }; export default ProfileScreen;