From e890381389d07ef2a194536268508c9dde5a2828 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Tue, 13 Jul 2021 18:03:22 -0400 Subject: Fix lint --- src/components/comments/ZoomInCropper.tsx | 2 -- src/screens/profile/CaptionScreen.tsx | 1 - src/utils/camera.ts | 1 - 3 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/components/comments/ZoomInCropper.tsx b/src/components/comments/ZoomInCropper.tsx index f4c06311..c20bab67 100644 --- a/src/components/comments/ZoomInCropper.tsx +++ b/src/components/comments/ZoomInCropper.tsx @@ -108,7 +108,6 @@ export const ZoomInCropper: React.FC = ({ .then((croppedURL) => { navigation.navigate('CaptionScreen', { screenType, - title: title, media: { uri: croppedURL, isVideo: false, @@ -124,7 +123,6 @@ export const ZoomInCropper: React.FC = ({ ) { navigation.navigate('CaptionScreen', { screenType, - title: title, media, }); } diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 38c6d8f0..99ff8819 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -49,7 +49,6 @@ import {RootState} from '../../store/rootReducer'; import {MomentTagType} from '../../types'; import {isIPhoneX, normalize, SCREEN_WIDTH, StatusBarHeight} from '../../utils'; import {mentionPartTypes} from '../../utils/comments'; -import {Trimmer, VideoPlayer} from 'react-native-video-processing'; /** * Upload Screen to allow users to upload posts to Tagg diff --git a/src/utils/camera.ts b/src/utils/camera.ts index 2f189a1d..8c05355f 100644 --- a/src/utils/camera.ts +++ b/src/utils/camera.ts @@ -11,7 +11,6 @@ import { import {ProcessingManager} from 'react-native-video-processing'; import ImagePicker, {ImageOrVideo, Video} from 'react-native-image-crop-picker'; import {ERROR_UPLOAD} from '../constants/strings'; -import RNFetchBlob from 'rn-fetch-blob'; /* * Captures a photo and pauses to show the preview of the picture taken -- cgit v1.2.3-70-g09d2