From 517616f21aa3644103b185884e2c233056e316d8 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Mon, 10 May 2021 15:22:00 -0700 Subject: Removed unneeded ref variables --- src/components/common/TaggTypeahead.tsx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/components/common') 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 = ({ - textRef, keyword, onSuggestionPress, }) => { @@ -53,7 +52,6 @@ const TaggTypeahead: React.FC = ({ name: user.username, }); setResults([]); - textRef.current.focus(); }} user={user} /> -- cgit v1.2.3-70-g09d2