diff --git a/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx b/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx index 5ecb961d31..f4db3e58e1 100644 --- a/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx +++ b/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx @@ -78,18 +78,16 @@ export default function GlossWithSuggestions( variant={(props.isNew ? "outlined" : "standard") as any} /> )} - renderOption={(liProps, option, { selected }) => { - return ( - - {SpellChecker.replaceAllButLastWordWithEllipses(option)} - - ); - }} + renderOption={(liProps, option, { selected }) => ( + + {SpellChecker.replaceAllButLastWordWithEllipses(option)} + + )} onKeyPress={(e: KeyboardEvent) => { if (e.key === Key.Enter) { props.handleEnter();