remove dead code and fix some types
This commit is contained in:
parent
78f569de94
commit
28eaac0ef8
4 changed files with 7 additions and 28 deletions
|
@ -575,10 +575,9 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
|||
this.props.model.autoComplete.onComponentConfirm(completion);
|
||||
};
|
||||
|
||||
private onAutoCompleteSelectionChange = (completion: ICompletion, completionIndex: number) => {
|
||||
private onAutoCompleteSelectionChange = (completionIndex: number) => {
|
||||
this.modifiedFlag = true;
|
||||
// this.props.model.autoComplete.onComponentSelectionChange(completion);
|
||||
this.setState({completionIndex});
|
||||
this.setState({ completionIndex });
|
||||
};
|
||||
|
||||
private configureEmoticonAutoReplace = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue