aboutsummaryrefslogtreecommitdiff
path: root/src/components/common
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-10 15:22:00 -0700
committerBrian Kim <brian@tagg.id>2021-05-10 15:22:00 -0700
commit517616f21aa3644103b185884e2c233056e316d8 (patch)
treead49bdd31df47fa6f043b9af08584560bcca0769 /src/components/common
parent4bc27c266710fbab8c028c6fdbaf4fd158b3dcc2 (diff)
Removed unneeded ref variables
Diffstat (limited to 'src/components/common')
-rw-r--r--src/components/common/TaggTypeahead.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/components/common/TaggTypeahead.tsx b/src/components/common/TaggTypeahead.tsx
index bef72851..fcf196bd 100644
--- a/src/components/common/TaggTypeahead.tsx
+++ b/src/components/common/TaggTypeahead.tsx
@@ -8,7 +8,6 @@ import {SCREEN_WIDTH} from '../../utils';
import TaggUserRowCell from './TaggUserRowCell';
const TaggTypeahead: React.FC<MentionSuggestionsProps> = ({
- textRef,
keyword,
onSuggestionPress,
}) => {
@@ -53,7 +52,6 @@ const TaggTypeahead: React.FC<MentionSuggestionsProps> = ({
name: user.username,
});
setResults([]);
- textRef.current.focus();
}}
user={user}
/>