From 09a9ddcbe1e32b17bd8d7c7519bb41b41e13f837 Mon Sep 17 00:00:00 2001 From: Leon Jiang <35908040+leonyjiang@users.noreply.github.com> Date: Mon, 1 Mar 2021 16:57:25 -0500 Subject: Fix imports causing app crashes --- src/components/profile/Content.tsx | 2 +- src/components/profile/Friends.tsx | 2 +- src/components/profile/ProfileHeader.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/profile') 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'; -- cgit v1.2.3-70-g09d2