Rename function

pull/21833/head
Travis Ralston 2021-03-23 18:19:14 -06:00
parent 090cf28af4
commit b7e653268b
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
}; };
} }
private onStartVoiceMessage = async () => { private onStartStopVoiceMessage = async () => {
// TODO: @@ TravisR: We do not want to auto-send on stop. // TODO: @@ TravisR: We do not want to auto-send on stop.
if (this.state.recorder) { if (this.state.recorder) {
await this.state.recorder.stop(); await this.state.recorder.stop();
@ -80,7 +80,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
return ( return (
<AccessibleTooltipButton <AccessibleTooltipButton
className={classes} className={classes}
onClick={this.onStartVoiceMessage} onClick={this.onStartStopVoiceMessage}
title={tooltip} title={tooltip}
/> />
); );