aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-21 16:16:07 -0500
committerIvan Chen <ivan@tagg.id>2021-01-21 16:16:07 -0500
commit27af1338ae8e735c831659fab8e51b795b368be4 (patch)
treee901936e1a7ebd162908a5f5b81558566ba80df7
parent238bc768a1610b558263b449b2938e1244450b92 (diff)
linting
-rw-r--r--src/components/profile/Content.tsx11
-rw-r--r--src/components/profile/ProfileHeader.tsx2
-rw-r--r--src/screens/profile/MomentCommentsScreen.tsx2
3 files changed, 2 insertions, 13 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index 82803a7a..a2bd3cf3 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -10,16 +10,7 @@ import {
View,
} from 'react-native';
import Animated from 'react-native-reanimated';
-import {
- CategorySelectionScreenType,
- FriendshipStatusType,
- MomentCategoryType,
- MomentType,
- ProfilePreviewType,
- ProfileType,
- ScreenType,
- UserType,
-} from '../../types';
+import {CategorySelectionScreenType, MomentType, ScreenType} from '../../types';
import {COVER_HEIGHT, TAGG_TEXT_LIGHT_BLUE} from '../../constants';
import {
fetchUserX,
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx
index 8c7a3301..26bbbc90 100644
--- a/src/components/profile/ProfileHeader.tsx
+++ b/src/components/profile/ProfileHeader.tsx
@@ -3,10 +3,8 @@ import {StyleSheet, Text, View} from 'react-native';
import {useSelector} from 'react-redux';
import {UniversityIcon} from '.';
import {PROFILE_CUTOUT_TOP_Y} from '../../constants';
-import {NO_MOMENTS} from '../../store/initialStates';
import {RootState} from '../../store/rootreducer';
import {ScreenType} from '../../types';
-import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils';
import Avatar from './Avatar';
import FriendsCount from './FriendsCount';
import ProfileMoreInfoDrawer from './ProfileMoreInfoDrawer';
diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx
index ebe4da28..1d27929e 100644
--- a/src/screens/profile/MomentCommentsScreen.tsx
+++ b/src/screens/profile/MomentCommentsScreen.tsx
@@ -4,7 +4,7 @@ import {ProfileStackParams} from '../../routes/main';
import {CenteredView, CommentTile} from '../../components';
import {CommentType} from '../../types';
import {ScrollView, StyleSheet, Text, View} from 'react-native';
-import {SCREEN_WIDTH} from '../../utils/screenDimensions';
+import {SCREEN_WIDTH} from '../../utils';
import {Button} from 'react-native-elements';
import {AddComment} from '../../components/';
import {useEffect} from 'react';