diff options
-rw-r--r-- | src/screens/profile/MomentCommentsScreen.tsx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx index 3008728e..f9df6c88 100644 --- a/src/screens/profile/MomentCommentsScreen.tsx +++ b/src/screens/profile/MomentCommentsScreen.tsx @@ -1,18 +1,18 @@ import * as React from 'react'; -import { RouteProp, useNavigation } from '@react-navigation/native'; -import { ProfileStackParams } from '../../routes/main'; -import { CommentTile, TabsGradient } from '../../components'; -import { CommentType } from '../../types'; -import { StyleSheet, Text, View } from 'react-native'; -import { SCREEN_HEIGHT, SCREEN_WIDTH } from '../../utils/screenDimensions'; -import { Button } from 'react-native-elements'; -import { AddComment } from '../../components/'; -import { useEffect } from 'react'; +import {RouteProp, useNavigation} from '@react-navigation/native'; +import {ProfileStackParams} from '../../routes/main'; +import {CommentTile, TabsGradient} from '../../components'; +import {CommentType} from '../../types'; +import {StyleSheet, Text, View} from 'react-native'; +import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils/screenDimensions'; +import {Button} from 'react-native-elements'; +import {AddComment} from '../../components/'; +import {useEffect} from 'react'; import AsyncStorage from '@react-native-community/async-storage'; -import { getMomentComments } from '../..//services'; -import { useDispatch } from 'react-redux'; -import { logout } from '../../store/actions'; -import { SafeAreaView } from 'react-native-safe-area-context'; +import {getMomentComments} from '../..//services'; +import {useDispatch} from 'react-redux'; +import {logout} from '../../store/actions'; +import {SafeAreaView} from 'react-native-safe-area-context'; import Animated from 'react-native-reanimated'; /** @@ -30,9 +30,9 @@ interface MomentCommentsScreenProps { route: MomentCommentsScreenRouteProps; } -const MomentCommentsScreen: React.FC<MomentCommentsScreenProps> = ({ route }) => { +const MomentCommentsScreen: React.FC<MomentCommentsScreenProps> = ({route}) => { const navigation = useNavigation(); - const { moment_id, screenType } = route.params; + const {moment_id, screenType} = route.params; const [commentsList, setCommentsList] = React.useState([]); const [newCommentsAvailable, setNewCommentsAvailable] = React.useState(true); const dispatch = useDispatch(); @@ -97,7 +97,7 @@ const styles = StyleSheet.create({ backgroundColor: 'white', height: '100%', }, - header: { justifyContent: 'center', padding: '3%' }, + header: {justifyContent: 'center', padding: '3%'}, headerText: { position: 'absolute', alignSelf: 'center', |