aboutsummaryrefslogtreecommitdiffstats
path: root/src/containers/settings/ServicesScreen.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-02-21 15:25:45 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-02-21 15:25:45 +0100
commit71e3d7310a06305c3c15685364ea8e20fc720867 (patch)
tree142ef1cc0ad793ea40cb8ea4f6d5c649cf4e0e3c /src/containers/settings/ServicesScreen.js
parentAdd pageview event (diff)
downloadferdium-app-71e3d7310a06305c3c15685364ea8e20fc720867.tar.gz
ferdium-app-71e3d7310a06305c3c15685364ea8e20fc720867.tar.zst
ferdium-app-71e3d7310a06305c3c15685364ea8e20fc720867.zip
Simplify analytics calls
Diffstat (limited to 'src/containers/settings/ServicesScreen.js')
-rw-r--r--src/containers/settings/ServicesScreen.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/containers/settings/ServicesScreen.js b/src/containers/settings/ServicesScreen.js
index b70a5506e..a501bf530 100644
--- a/src/containers/settings/ServicesScreen.js
+++ b/src/containers/settings/ServicesScreen.js
@@ -6,16 +6,11 @@ import { RouterStore } from 'mobx-react-router';
6// import RecipePreviewsStore from '../../stores/RecipePreviewsStore'; 6// import RecipePreviewsStore from '../../stores/RecipePreviewsStore';
7import UserStore from '../../stores/UserStore'; 7import UserStore from '../../stores/UserStore';
8import ServiceStore from '../../stores/ServicesStore'; 8import ServiceStore from '../../stores/ServicesStore';
9import { gaPage } from '../../lib/analytics';
10 9
11import ServicesDashboard from '../../components/settings/services/ServicesDashboard'; 10import ServicesDashboard from '../../components/settings/services/ServicesDashboard';
12import ErrorBoundary from '../../components/util/ErrorBoundary'; 11import ErrorBoundary from '../../components/util/ErrorBoundary';
13 12
14export default @inject('stores', 'actions') @observer class ServicesScreen extends Component { 13export default @inject('stores', 'actions') @observer class ServicesScreen extends Component {
15 componentDidMount() {
16 gaPage('Settings/Service Dashboard');
17 }
18
19 componentWillUnmount() { 14 componentWillUnmount() {
20 this.props.actions.service.resetFilter(); 15 this.props.actions.service.resetFilter();
21 this.props.actions.service.resetStatus(); 16 this.props.actions.service.resetStatus();