1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
This commit is contained in:
Jernej Pregelj 2019-04-08 12:07:09 +02:00
parent 0bc47335e9
commit 1725c3a8a0
2 changed files with 3 additions and 1 deletions

View File

@ -15,12 +15,14 @@
"@oceanprotocol/typographies": "^0.1.0",
"classnames": "^2.2.6",
"filesize": "^4.1.2",
"history": "^4.9.0",
"is-url": "^1.2.4",
"moment": "^2.24.0",
"query-string": "^6.4.2",
"react": "^16.8.6",
"react-datepicker": "^2.3.0",
"react-dom": "^16.8.6",
"react-ga": "^2.5.7",
"react-helmet": "^5.2.0",
"react-moment": "^0.8.4",
"react-popper": "^1.3.3",

View File

@ -5,7 +5,7 @@ interface TrackerProps {
location: any
}
ReactGA.initialize('UA-60614729-11');
ReactGA.initialize('UA-60614729-11', {testMode: process.env.NODE_ENV === 'test'})
export default function withTracker(WrappedComponent: any, options: any = {}) {
const trackPage = (page: any) => {