You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Cleanup autocomplete
This commit is contained in:
@@ -85,8 +85,8 @@ export default class CommandProvider extends AutocompleteProvider {
|
||||
}
|
||||
|
||||
renderCompletions(completions: [React.Component]): ?React.Component {
|
||||
return React.cloneElement(super.renderCompletions(completions), {
|
||||
className: 'mx_Autocomplete_Completion_container_block',
|
||||
});
|
||||
return <div className="mx_Autocomplete_Completion_container_block">
|
||||
{completions}
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user