diff options
author | dan <dan.abramov@gmail.com> | 2023-09-08 00:38:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 16:38:57 -0700 |
commit | a5b89dffa6713bb06c1c572bbdc00517cf5e9bc5 (patch) | |
tree | ac8aa2deec7cc24d9a3553bab0c48335d2e8677c /src/view/com/composer/text-input/web | |
parent | 00595591c46db6ebfa9a8ee404f275b43493f7e0 (diff) | |
download | voidsky-a5b89dffa6713bb06c1c572bbdc00517cf5e9bc5.tar.zst |
Add ESLint React plugin (#1412)
* Add eslint-plugin-react * Enable display name rule
Diffstat (limited to 'src/view/com/composer/text-input/web')
-rw-r--r-- | src/view/com/composer/text-input/web/Autocomplete.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/web/Autocomplete.tsx b/src/view/com/composer/text-input/web/Autocomplete.tsx index 87820b97b..bbed26d48 100644 --- a/src/view/com/composer/text-input/web/Autocomplete.tsx +++ b/src/view/com/composer/text-input/web/Autocomplete.tsx @@ -94,7 +94,7 @@ export function createSuggestion({ } const MentionList = forwardRef<MentionListRef, SuggestionProps>( - (props: SuggestionProps, ref) => { + function MentionListImpl(props: SuggestionProps, ref) { const [selectedIndex, setSelectedIndex] = useState(0) const pal = usePalette('default') const {getGraphemeString} = useGrapheme() |