Cleanup autocomplete
This commit is contained in:
parent
e173900808
commit
884abbd7e9
8 changed files with 28 additions and 24 deletions
|
@ -49,8 +49,8 @@ export default class EmojiProvider extends AutocompleteProvider {
|
|||
}
|
||||
|
||||
renderCompletions(completions: [React.Component]): ?React.Component {
|
||||
return React.cloneElement(super.renderCompletions(completions), {
|
||||
className: 'mx_Autocomplete_Completion_container_pill',
|
||||
});
|
||||
return <div className="mx_Autocomplete_Completion_container_pill">
|
||||
{completions}
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue