diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-18 15:23:18 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-03-18 15:23:18 -0700 |
commit | 8d243eef5db576c053d521d082feb87a1a834558 (patch) | |
tree | 6285622ee924462f42a07bb8d3ff2ad2227b3a3e /src/components/profile/Friends.tsx | |
parent | f81a4e1a05ca3fa66c2798b047d4bfd6995f462d (diff) |
cleaned lint erros
Diffstat (limited to 'src/components/profile/Friends.tsx')
-rw-r--r-- | src/components/profile/Friends.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/profile/Friends.tsx b/src/components/profile/Friends.tsx index 7d57177c..1c295c25 100644 --- a/src/components/profile/Friends.tsx +++ b/src/components/profile/Friends.tsx @@ -1,7 +1,7 @@ import {useNavigation} from '@react-navigation/native'; import React, {useEffect, useState} from 'react'; import {ScrollView, StyleSheet, Text, View} from 'react-native'; -import {checkPermission, getAll} from 'react-native-contacts'; +import {checkPermission} from 'react-native-contacts'; import {TouchableOpacity} from 'react-native-gesture-handler'; import {useDispatch, useSelector, useStore} from 'react-redux'; import {TAGG_LIGHT_BLUE} from '../../constants'; @@ -97,7 +97,7 @@ const Friends: React.FC<FriendsProps> = ({result, screenType, userId}) => { <View style={styles.addFriendHeaderContainer}> <Text style={[styles.subheaderText]}>Add Friends</Text> <TouchableOpacity - style={{flexDirection: 'row'}} + style={styles.findFriendsButton} onPress={() => navigation.navigate('InviteFriendsScreen', { screenType: ScreenType.Profile, @@ -176,6 +176,7 @@ const styles = StyleSheet.create({ fontWeight: '600', lineHeight: normalize(14.32), }, + findFriendsButton: {flexDirection: 'row'}, friendsSubheaderText: { alignSelf: 'center', width: SCREEN_WIDTH * 0.85, |