1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Disable awsAnalytics on develop

This commit is contained in:
asmsuechan
2017-06-12 18:57:40 +09:00
parent 48ca13f82c
commit eaf88c6491
2 changed files with 9 additions and 6 deletions

View File

@@ -22,7 +22,9 @@ class Main extends React.Component {
constructor (props) {
super(props)
mobileAnalytics.initAwsMobileAnalytics()
if (process.env.NODE_ENV === 'production') {
mobileAnalytics.initAwsMobileAnalytics()
}
let { config } = props