aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-25 17:05:14 -0400
committerIvan Chen <ivan@tagg.id>2021-06-25 17:05:14 -0400
commitacc7081036177e036bd7f43c7975939d33e91f2c (patch)
tree6e5fff671b2fa7366e5c2e3c3356a8cc1b1f8b23 /src/components/taggs
parent4bab63b7b0c24043749e78cbb4d639e8a4047bad (diff)
Cleanup ref types
Diffstat (limited to 'src/components/taggs')
-rw-r--r--src/components/taggs/TaggDraggable.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/taggs/TaggDraggable.tsx b/src/components/taggs/TaggDraggable.tsx
index d458fab6..ea19591d 100644
--- a/src/components/taggs/TaggDraggable.tsx
+++ b/src/components/taggs/TaggDraggable.tsx
@@ -1,5 +1,5 @@
import {useNavigation} from '@react-navigation/native';
-import React from 'react';
+import React, {RefObject} from 'react';
import {
Image,
StyleSheet,
@@ -17,7 +17,7 @@ import {normalize} from '../../utils';
import {navigateToProfile} from '../../utils/users';
interface TaggDraggableProps extends ViewProps {
- draggableRef: React.MutableRefObject<null>;
+ draggableRef: RefObject<View>;
taggedUser: ProfilePreviewType;
editingView: boolean;
deleteFromList: () => void;