aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-07-13 18:03:22 -0400
committerBrian Kim <brian@tagg.id>2021-07-13 18:03:22 -0400
commite890381389d07ef2a194536268508c9dde5a2828 (patch)
treee94ff22e09418c834608bf245d57a3dfa632825d /src
parentd915d6e9fdd86aa35678d53b0b39b0038e3a8ac1 (diff)
Fix lint
Diffstat (limited to 'src')
-rw-r--r--src/components/comments/ZoomInCropper.tsx2
-rw-r--r--src/screens/profile/CaptionScreen.tsx1
-rw-r--r--src/utils/camera.ts1
3 files changed, 0 insertions, 4 deletions
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<ZoomInCropperProps> = ({
.then((croppedURL) => {
navigation.navigate('CaptionScreen', {
screenType,
- title: title,
media: {
uri: croppedURL,
isVideo: false,
@@ -124,7 +123,6 @@ export const ZoomInCropper: React.FC<ZoomInCropperProps> = ({
) {
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