From bf26387575deb421ef4fa974174e45a7b55e3831 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 16 Feb 2021 13:09:11 -0500 Subject: removed dead code --- .../suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx b/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx index dd99cf83..82af9428 100644 --- a/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx +++ b/src/screens/suggestedPeopleOnboarding/SuggestedPeopleUploadPictureScreen.tsx @@ -10,20 +10,18 @@ import {Text} from 'react-native-animatable'; import {TouchableOpacity} from 'react-native-gesture-handler'; import ImagePicker from 'react-native-image-crop-picker'; import {SafeAreaView} from 'react-native-safe-area-context'; -import {useDispatch, useSelector} from 'react-redux'; +import {useDispatch} from 'react-redux'; import {TaggSquareButton} from '../../components'; import TaggLoadingIndicator from '../../components/common/TaggLoadingIndicator'; import {SP_HEIGHT, SP_WIDTH} from '../../constants'; import {ERROR_UPLOAD} from '../../constants/strings'; import {sendSuggestedPeoplePhoto} from '../../services'; import {uploadedSuggestedPeoplePhoto} from '../../store/actions'; -import {RootState} from '../../store/rootReducer'; import {normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; const SuggestedPeopleUploadPictureScreen: React.FC = () => { const [image, setImage] = useState(undefined); const [loading, setLoading] = useState(false); - const {userId} = useSelector((state: RootState) => state.user.user); const dispatch = useDispatch(); const openImagePicker = () => { -- cgit v1.2.3-70-g09d2