diff options
author | 2019-02-21 15:25:45 +0100 | |
---|---|---|
committer | 2019-02-21 15:25:45 +0100 | |
commit | 71e3d7310a06305c3c15685364ea8e20fc720867 (patch) | |
tree | 142ef1cc0ad793ea40cb8ea4f6d5c649cf4e0e3c /src/containers/settings/EditUserScreen.js | |
parent | Add pageview event (diff) | |
download | ferdium-app-71e3d7310a06305c3c15685364ea8e20fc720867.tar.gz ferdium-app-71e3d7310a06305c3c15685364ea8e20fc720867.tar.zst ferdium-app-71e3d7310a06305c3c15685364ea8e20fc720867.zip |
Simplify analytics calls
Diffstat (limited to 'src/containers/settings/EditUserScreen.js')
-rw-r--r-- | src/containers/settings/EditUserScreen.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/containers/settings/EditUserScreen.js b/src/containers/settings/EditUserScreen.js index 3d35effc5..bade928a0 100644 --- a/src/containers/settings/EditUserScreen.js +++ b/src/containers/settings/EditUserScreen.js | |||
@@ -9,7 +9,6 @@ import EditUserForm from '../../components/settings/user/EditUserForm'; | |||
9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
10 | 10 | ||
11 | import { required, email, minLength } from '../../helpers/validation-helpers'; | 11 | import { required, email, minLength } from '../../helpers/validation-helpers'; |
12 | import { gaPage } from '../../lib/analytics'; | ||
13 | 12 | ||
14 | const messages = defineMessages({ | 13 | const messages = defineMessages({ |
15 | firstname: { | 14 | firstname: { |
@@ -57,10 +56,6 @@ export default @inject('stores', 'actions') @observer class EditUserScreen exten | |||
57 | intl: intlShape, | 56 | intl: intlShape, |
58 | }; | 57 | }; |
59 | 58 | ||
60 | componentDidMount() { | ||
61 | gaPage('Settings/Account/Edit'); | ||
62 | } | ||
63 | |||
64 | componentWillUnmount() { | 59 | componentWillUnmount() { |
65 | this.props.actions.user.resetStatus(); | 60 | this.props.actions.user.resetStatus(); |
66 | } | 61 | } |