Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 106b49e

Browse files
author
Alun Turner
committed
rename fire => track
1 parent eca494d commit 106b49e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/views/rooms/BasicMessageComposer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
773773
return;
774774
}
775775

776-
fireFormattingAnalyticEvent(action);
776+
trackFormattingAnalyticEvent(action);
777777

778778
const range: Range = getRangeForSelection(this.editorRef.current, this.props.model, document.getSelection()!);
779779

@@ -917,7 +917,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
917917
* @param action - the formatting action that will be recorded in the analytic event that is fired
918918
* @returns void
919919
*/
920-
function fireFormattingAnalyticEvent(action: Formatting): void {
920+
function trackFormattingAnalyticEvent(action: Formatting): void {
921921
let formatAction: FormattedMessageEvent["formatAction"];
922922

923923
switch (action) {

0 commit comments

Comments
 (0)