ref(analytics): Use analytics from features/analytics

This commit is contained in:
hristoterezov
2017-10-13 09:50:48 -05:00
committed by yanas
parent a3a871d4b3
commit df1437f018
16 changed files with 88 additions and 78 deletions
@@ -1,7 +1,7 @@
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import JitsiMeetJS from '../../base/lib-jitsi-meet';
import { sendEvent } from '../../analytics';
import { translate } from '../../base/i18n';
import RemoteVideoMenuButton from './RemoteVideoMenuButton';
@@ -130,7 +130,7 @@ class RemoteControlButton extends Component {
}
if (eventName) {
JitsiMeetJS.analytics.sendEvent(
sendEvent(
`remotevideomenu.remotecontrol.${eventName}`,
{
value: 1,