Folder structure #398

Merged
bones7242 merged 76 commits from folder-structure into master 2018-03-20 00:01:08 +01:00
5 changed files with 13 additions and 58886 deletions
Showing only changes of commit 3ff70c4f9d - Show all commits

10993
index.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -16,7 +16,9 @@ class GAListener extends React.Component {
render () {
// initiate analytics
const { googleAnalyticsId } = this.props;
GoogleAnalytics.initialize(googleAnalyticsId);
if (googleAnalyticsId) {
GoogleAnalytics.initialize(googleAnalyticsId);
}
// return children
return this.props.children;
}