Skip to content

Commit

Permalink
downgrade hotjar
Browse files Browse the repository at this point in the history
  • Loading branch information
annarhughes committed Oct 24, 2023
1 parent a04467d commit 88d515a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ module.exports = {
API_URL: process.env.API_URL,
BASE_URL: process.env.BASE_URL,
},
transpilePackages: ['react-hotjar'],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"react-device-detect": "^1.14.0",
"react-dom": "17.0.2",
"react-firebase-hooks": "^2.2.0",
"react-hotjar": "^6.1.0",
"react-hotjar": "^5.5.0",
"react-html-parser": "^2.0.2",
"react-player": "^2.6.2",
"react-redux": "^7.2.1",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function App({ Component, pageProps }) {
});

if (process.env.NEXT_PUBLIC_ENV === 'production') {
hotjar.initialize(Number(process.env.NEXT_PUBLIC_HOTJAR_ID), 6);
hotjar.initialize(Number(process.env.NEXT_PUBLIC_HOTJAR_ID), 5);
}
}, []);

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6729,10 +6729,10 @@ react-firebase-hooks@^2.2.0:
resolved "https://registry.yarnpkg.com/react-firebase-hooks/-/react-firebase-hooks-2.2.0.tgz#a2cea46d3da94619e8a316b85173638698ef7d2b"
integrity sha512-bwBaCYa8M+bpTqD0masAPGDTzxiTkGbyxv363hyR+NeNH1HbezPll6G7aMIGl+7OOYRPzfdmpkk72zc3VgXfEw==

react-hotjar@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/react-hotjar/-/react-hotjar-6.1.0.tgz#910dd5d002f5043a6f34ae7ada545b2aace1edae"
integrity sha512-V1UJixDMspAIrbGIFG282U7mH2aK1JBid0YR8F9oscb6lTkjMga+gst2gesxJDsqsax+k+lM1LqRXYzmUu8izA==
react-hotjar@^5.5.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/react-hotjar/-/react-hotjar-5.5.0.tgz#5f74a659a4d85773a7988c6d6d6261c5e45a160b"
integrity sha512-cXp1DKUruibmbSvCCRl4hXLagT7fVUiFJbpXtVDovVjNxooClf7ZXdkkzbATpPSU4+IuvYP773T4vXXnjrV3dg==

react-html-parser@^2.0.2:
version "2.0.2"
Expand Down

0 comments on commit 88d515a

Please sign in to comment.