aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/ProfileScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-06 12:14:29 -0400
committerGitHub <noreply@github.com>2021-04-06 12:14:29 -0400
commita3abb3abe322ea84306e1a12cec46972a81a37de (patch)
tree697ec80502d6c4d8249cbbea2cad62262e335587 /src/screens/profile/ProfileScreen.tsx
parentaac68b10d5f05f4a8bd137cfd2a85ef6f6e4dbdf (diff)
parentb6a31427f784c2e88ad6fe0178e5fd873b4a1099 (diff)
Merge pull request #352 from leonyjiang/tma739-patch-iphone-12
[TMA-739] Bugfix Patch — Moment Posting Tutorial Position
Diffstat (limited to 'src/screens/profile/ProfileScreen.tsx')
-rw-r--r--src/screens/profile/ProfileScreen.tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/screens/profile/ProfileScreen.tsx b/src/screens/profile/ProfileScreen.tsx
index 313e2f2c..0d6af21e 100644
--- a/src/screens/profile/ProfileScreen.tsx
+++ b/src/screens/profile/ProfileScreen.tsx
@@ -1,12 +1,9 @@
import React from 'react';
import {StatusBar} from 'react-native';
import Animated from 'react-native-reanimated';
-import {Content, Cover, TabsGradient} from '../../components';
-import {RouteProp, useFocusEffect} from '@react-navigation/native';
+import {Content, TabsGradient} from '../../components';
+import {RouteProp} from '@react-navigation/native';
import {MainStackParams} from '../../routes/';
-import {resetScreenType} from '../../store/actions';
-import {useDispatch, useStore} from 'react-redux';
-import {DUMMY_USERID} from '../../store/initialStates';
/**r
* Profile Screen for a user's profile
@@ -23,7 +20,6 @@ const ProfileScreen: React.FC<ProfileOnboardingProps> = ({route}) => {
const {screenType} = route.params;
let {userXId} = route.params;
const y = Animated.useValue(0);
- const dispatch = useDispatch();
/**
* This is a double safety check to avoid app crash.