Merge pull request #2867 from weaveworks/2017-09-26-mixpanel-cleanup.2

tracking: Fix in-flight collision of two related PRs
This commit is contained in:
Damien Lespiau
2017-09-26 13:36:19 +01:00
committed by GitHub

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { connect } from 'react-redux';
import { trackMixpanelEvent } from '../../utils/tracking-utils';
import { trackAnalyticsEvent } from '../../utils/tracking-utils';
import { doControl } from '../../actions/app-actions';
class NodeDetailsControlButton extends React.Component {
@@ -23,7 +23,7 @@ class NodeDetailsControlButton extends React.Component {
handleClick(ev) {
ev.preventDefault();
const { id, human } = this.props.control;
trackMixpanelEvent('scope.node.control.click', { id, title: human });
trackAnalyticsEvent('scope.node.control.click', { id, title: human });
this.props.dispatch(doControl(this.props.nodeId, this.props.control));
}
}