aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-06-17 23:10:05 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-06-17 23:10:05 -0700
commit9afff14debaee28ef6a86d307cd3183cbcfebbd4 (patch)
treefa722e2a6e484d256b5d192a0884b56fcaf7032e /src
parent4258a121e87a7538f9f45a56b0e4fb76f1f395dd (diff)
Move moment post content to legacy
Diffstat (limited to 'src')
-rw-r--r--src/components/moments/index.ts1
-rw-r--r--src/components/moments/legacy/MomentPostContent.tsx (renamed from src/components/moments/MomentPostContent.tsx)19
2 files changed, 11 insertions, 9 deletions
diff --git a/src/components/moments/index.ts b/src/components/moments/index.ts
index c1419cfd..743b78b0 100644
--- a/src/components/moments/index.ts
+++ b/src/components/moments/index.ts
@@ -1,7 +1,6 @@
export {default as IndividualMomentTitleBar} from './IndividualMomentTitleBar';
export {default as CaptionScreenHeader} from './CaptionScreenHeader';
export {default as MomentPostHeader} from './MomentPostHeader';
-export {default as MomentPostContent} from './MomentPostContent';
export {default as Moment} from './Moment';
export {default as TagFriendsFooter} from './TagFriendsFoooter';
export {default as MomentPost} from './MomentPost';
diff --git a/src/components/moments/MomentPostContent.tsx b/src/components/moments/legacy/MomentPostContent.tsx
index aca2999c..6388be27 100644
--- a/src/components/moments/MomentPostContent.tsx
+++ b/src/components/moments/legacy/MomentPostContent.tsx
@@ -4,26 +4,29 @@ import {Image, StyleSheet, Text, View, ViewProps} from 'react-native';
import {TouchableWithoutFeedback} from 'react-native-gesture-handler';
import Animated, {EasingNode} from 'react-native-reanimated';
import {useDispatch, useStore} from 'react-redux';
-import {MomentContext} from '../../screens/profile/IndividualMoment';
-import {RootState} from '../../store/rootReducer';
+import {MomentContext} from '../../../screens/profile/IndividualMoment';
+import {RootState} from '../../../store/rootReducer';
import {
MomentCommentPreviewType,
MomentPostType,
MomentTagType,
ScreenType,
UserType,
-} from '../../types';
+} from '../../../types';
import {
getLoggedInUserAsProfilePreview,
getTimePosted,
navigateToProfile,
normalize,
SCREEN_WIDTH,
-} from '../../utils';
-import {mentionPartTypes, renderTextWithMentions} from '../../utils/comments';
-import {AddComment} from '../comments';
-import {MomentTags} from '../common';
-import MomentCommentPreview from './MomentCommentPreview';
+} from '../../../utils';
+import {
+ mentionPartTypes,
+ renderTextWithMentions,
+} from '../../../utils/comments';
+import {AddComment} from '../../comments';
+import {MomentTags} from '../../common';
+import MomentCommentPreview from '../MomentCommentPreview';
interface MomentPostContentProps extends ViewProps {
screenType: ScreenType;