Cleaned up unrequired code changes

This commit is contained in:
crockwave
2020-05-08 17:40:54 -05:00
parent f1747f4425
commit b35122e75c
2 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,7 @@ export const ensureComposeIsVisible = (getState, routerHistory) => {
}
};
export function changeCompose(text, caretPosition) {
export function changeCompose(text) {
return {
type: COMPOSE_CHANGE,
text: text,

View File

@ -74,6 +74,7 @@ export default class AutosuggestTextarea extends ImmutablePureComponent {
this.setState({ lastToken: null });
this.props.onSuggestionsClearRequested();
}
this.props.onChange(e);
}