aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/AcceptDeclineButtons.tsx
diff options
context:
space:
mode:
authorAshm Walia <ashmwalia@outlook.com>2021-01-15 19:04:07 -0800
committerAshm Walia <ashmwalia@outlook.com>2021-01-15 19:04:07 -0800
commit72aabf60d815cdecf59aaef86df57be6a557efd0 (patch)
tree4fac8f3fe8c44d0730fa3d7707500aa1a68afcd0 /src/components/common/AcceptDeclineButtons.tsx
parented91266981e1662b512baa1856d8c921a8718e68 (diff)
Done
Diffstat (limited to 'src/components/common/AcceptDeclineButtons.tsx')
-rw-r--r--src/components/common/AcceptDeclineButtons.tsx22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/components/common/AcceptDeclineButtons.tsx b/src/components/common/AcceptDeclineButtons.tsx
index 164ce6e7..7d01a398 100644
--- a/src/components/common/AcceptDeclineButtons.tsx
+++ b/src/components/common/AcceptDeclineButtons.tsx
@@ -1,22 +1,6 @@
import React from 'react';
-import {
- StyleProp,
- StyleSheet,
- Text,
- View,
- ViewProps,
- ViewStyle,
-} from 'react-native';
-import {Button} from 'react-native-elements';
-import {useDispatch, useStore} from 'react-redux';
-import {
- declineFriendRequest,
- loadUserNotifications,
- updateUserXFriends,
-} from '../../store/actions';
+import {StyleProp, StyleSheet, Text, View, ViewStyle} from 'react-native';
import {TAGG_TEXT_LIGHT_BLUE} from '../../constants';
-import {acceptFriendRequest} from '../../store/actions';
-import {RootState} from '../../store/rootReducer';
import {ProfilePreviewType} from '../../types';
import {SCREEN_WIDTH} from '../../utils';
import {TouchableOpacity} from 'react-native-gesture-handler';
@@ -62,8 +46,8 @@ const styles = StyleSheet.create({
genericButtonStyle: {
justifyContent: 'center',
alignItems: 'center',
- width: SCREEN_WIDTH * 0.2,
- height: SCREEN_WIDTH * 0.07,
+ width: SCREEN_WIDTH * 0.15,
+ height: SCREEN_WIDTH * 0.06,
borderRadius: 5,
padding: 0,
marginTop: 10,