mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 15:47:51 +00:00
ref(analytics): centralize all event names (#2272)
* ref(analytics): centralize all event names * squash: fix typo and alpha ordering * squash: rename file to AnalyticsEvents to parallel lib-jitsi-meet
This commit is contained in:
@@ -2,7 +2,10 @@ import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { sendAnalyticsEvent } from '../../analytics';
|
||||
import {
|
||||
TOOLBAR_INVITE_CLOSE,
|
||||
sendAnalyticsEvent
|
||||
} from '../../analytics';
|
||||
import { getInviteURL } from '../../base/connection';
|
||||
import { Dialog } from '../../base/dialog';
|
||||
import { translate } from '../../base/i18n';
|
||||
@@ -51,7 +54,7 @@ class InviteDialog extends Component {
|
||||
* @inheritdoc
|
||||
*/
|
||||
componentWillUnmount() {
|
||||
sendAnalyticsEvent('toolbar.invite.close');
|
||||
sendAnalyticsEvent(TOOLBAR_INVITE_CLOSE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user