aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-03-01 16:57:25 -0500
committerLeon Jiang <35908040+leonyjiang@users.noreply.github.com>2021-03-01 16:57:25 -0500
commit09a9ddcbe1e32b17bd8d7c7519bb41b41e13f837 (patch)
tree77eacfc295ba681ca7f67973a4b7da7d61629ac4 /src/components
parent2f83eb360c583d6b110c045f07ae57227cda3fa5 (diff)
Fix imports causing app crashes
Diffstat (limited to 'src/components')
-rw-r--r--src/components/comments/CommentsContainer.tsx2
-rw-r--r--src/components/common/GenericMoreInfoDrawer.tsx2
-rw-r--r--src/components/common/SocialLinkModal.tsx2
-rw-r--r--src/components/common/TaggPopup.tsx2
-rw-r--r--src/components/moments/MomentPostHeader.tsx2
-rw-r--r--src/components/onboarding/LinkSocialMedia.tsx2
-rw-r--r--src/components/profile/Content.tsx2
-rw-r--r--src/components/profile/Friends.tsx2
-rw-r--r--src/components/profile/ProfileHeader.tsx2
-rw-r--r--src/components/taggs/SocialMediaInfo.tsx2
10 files changed, 10 insertions, 10 deletions
diff --git a/src/components/comments/CommentsContainer.tsx b/src/components/comments/CommentsContainer.tsx
index c72da2b7..3dc8a71c 100644
--- a/src/components/comments/CommentsContainer.tsx
+++ b/src/components/comments/CommentsContainer.tsx
@@ -2,7 +2,7 @@ import React, {useEffect, useRef, useState} from 'react';
import {StyleSheet} from 'react-native';
import {FlatList} from 'react-native-gesture-handler';
import {useDispatch, useSelector} from 'react-redux';
-import {CommentTile} from '.';
+import CommentTile from './CommentTile';
import {getComments} from '../../services';
import {updateReplyPosted} from '../../store/actions';
import {RootState} from '../../store/rootReducer';
diff --git a/src/components/common/GenericMoreInfoDrawer.tsx b/src/components/common/GenericMoreInfoDrawer.tsx
index ff32a464..0928ed44 100644
--- a/src/components/common/GenericMoreInfoDrawer.tsx
+++ b/src/components/common/GenericMoreInfoDrawer.tsx
@@ -9,7 +9,7 @@ import {
ViewStyle,
} from 'react-native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
-import {BottomDrawer} from '.';
+import BottomDrawer from './BottomDrawer';
import {TAGG_LIGHT_BLUE} from '../../constants';
import {normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils';
diff --git a/src/components/common/SocialLinkModal.tsx b/src/components/common/SocialLinkModal.tsx
index 20061cd0..a8c18225 100644
--- a/src/components/common/SocialLinkModal.tsx
+++ b/src/components/common/SocialLinkModal.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import {Modal, StyleSheet, Text, TouchableOpacity, View} from 'react-native';
import {TextInput} from 'react-native-gesture-handler';
import {ScreenType} from '../../types';
-import {SocialIcon} from '.';
+import SocialIcon from './SocialIcon';
import CloseIcon from '../../assets/ionicons/close-outline.svg';
import {normalize, SCREEN_WIDTH} from '../../utils';
import CenteredView from './CenteredView';
diff --git a/src/components/common/TaggPopup.tsx b/src/components/common/TaggPopup.tsx
index b5ac32ec..8b6865fd 100644
--- a/src/components/common/TaggPopup.tsx
+++ b/src/components/common/TaggPopup.tsx
@@ -3,7 +3,7 @@ import {StackNavigationProp} from '@react-navigation/stack';
import * as React from 'react';
import {Platform, Text, StyleSheet, TouchableOpacity} from 'react-native';
import {Image, View} from 'react-native-animatable';
-import {ArrowButton} from '..';
+import {ArrowButton} from '../onboarding';
import {OnboardingStackParams} from '../../routes';
import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils';
import CloseIcon from '../../assets/ionicons/close-outline.svg';
diff --git a/src/components/moments/MomentPostHeader.tsx b/src/components/moments/MomentPostHeader.tsx
index 810ccea9..aad776e8 100644
--- a/src/components/moments/MomentPostHeader.tsx
+++ b/src/components/moments/MomentPostHeader.tsx
@@ -1,6 +1,6 @@
import React, {useState} from 'react';
import {StyleSheet, Text, View, ViewProps} from 'react-native';
-import {MomentMoreInfoDrawer} from '..';
+import {MomentMoreInfoDrawer} from '../profile';
import {loadUserMoments} from '../../store/actions';
import {useDispatch, useSelector} from 'react-redux';
import {ScreenType} from '../../types';
diff --git a/src/components/onboarding/LinkSocialMedia.tsx b/src/components/onboarding/LinkSocialMedia.tsx
index f3915752..eb3cf218 100644
--- a/src/components/onboarding/LinkSocialMedia.tsx
+++ b/src/components/onboarding/LinkSocialMedia.tsx
@@ -7,7 +7,7 @@ import {
TouchableOpacity,
TouchableOpacityProps,
} from 'react-native';
-import {SocialLinkModal} from '..';
+import {SocialLinkModal} from '../common';
import {
INTEGRATED_SOCIAL_LIST,
SOCIAL_FONT_COLORS,
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index e75ae949..ae9f9564 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -13,7 +13,7 @@ import {
import {TouchableOpacity} from 'react-native-gesture-handler';
import Animated from 'react-native-reanimated';
import {useDispatch, useSelector, useStore} from 'react-redux';
-import {Cover} from '.';
+import Cover from './Cover';
import GreyPlusLogo from '../../assets/icons/grey-plus-logo.svg';
import {COVER_HEIGHT, TAGG_LIGHT_BLUE} from '../../constants';
import {
diff --git a/src/components/profile/Friends.tsx b/src/components/profile/Friends.tsx
index 02a7460a..7c7265c5 100644
--- a/src/components/profile/Friends.tsx
+++ b/src/components/profile/Friends.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import {View, StyleSheet, ScrollView, Text} from 'react-native';
import {ProfilePreviewType, ScreenType} from '../../types';
-import {ProfilePreview} from '..';
+import {ProfilePreview} from '../profile';
import {normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils';
import {TAGG_LIGHT_BLUE} from '../../constants';
import {RootState} from '../../store/rootReducer';
diff --git a/src/components/profile/ProfileHeader.tsx b/src/components/profile/ProfileHeader.tsx
index 7dad2a68..e5bd9d93 100644
--- a/src/components/profile/ProfileHeader.tsx
+++ b/src/components/profile/ProfileHeader.tsx
@@ -1,7 +1,7 @@
import React, {useState} from 'react';
import {StyleSheet, Text, View} from 'react-native';
import {useSelector} from 'react-redux';
-import {UniversityIcon} from '.';
+import UniversityIcon from './UniversityIcon';
import {PROFILE_CUTOUT_TOP_Y} from '../../constants';
import {RootState} from '../../store/rootreducer';
import {ScreenType} from '../../types';
diff --git a/src/components/taggs/SocialMediaInfo.tsx b/src/components/taggs/SocialMediaInfo.tsx
index 46e651f9..8f5f38c1 100644
--- a/src/components/taggs/SocialMediaInfo.tsx
+++ b/src/components/taggs/SocialMediaInfo.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import {StyleSheet, Text, View} from 'react-native';
import { ScreenType } from '../../types';
-import {SocialIcon} from '..';
+import {SocialIcon} from '../common';
import {handleOpenSocialUrlOnBrowser} from '../../utils';
interface SocialMediaInfoProps {