Skip to content

Commit

Permalink
Merge pull request #502 from Dark-Matter-Labs/hotfix-hotjar
Browse files Browse the repository at this point in the history
bump react-hotjar version to fix tracking issue
  • Loading branch information
gurdenbatra committed Apr 25, 2024
2 parents 0fe7c2f + f500944 commit 42088c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"open-graph-scraper": "^4.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hotjar": "^5.1.0",
"react-hotjar": "^6.3.1",
"react-icons": "^4.7.1",
"react-lottie": "^1.2.3",
"react-responsive-masonry": "^2.1.7",
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function MyApp({ Component, pageProps }) {

useEffect(() => {
if (consent === true) {
hotjar.initialize(process.env.NEXT_PUBLIC_HJID, process.env.NEXT_PUBLIC_HJSV);
hotjar.initialize({ id: Number(process.env.NEXT_PUBLIC_HJID), sv: process.env.NEXT_PUBLIC_HJSV });
}
}, [consent]);

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3523,10 +3523,10 @@ react-dom@^18.2.0:
loose-envify "^1.1.0"
scheduler "^0.23.0"

react-hotjar@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/react-hotjar/-/react-hotjar-5.1.0.tgz#4fd787c7a3c6ad1cc82ba749b2af46585fc03158"
integrity sha512-H0MORa+uIY1pgLoVOVJRT73UtfwatNtzbAsgvCK6P/97Hc56pPJEcfLEMUHLl9NCRaHtmeP2n7Nad8cZyCtH3A==
react-hotjar@^6.3.1:
version "6.3.1"
resolved "https://registry.yarnpkg.com/react-hotjar/-/react-hotjar-6.3.1.tgz#cce120c0fc5160056937fd646fc11a8b925b7294"
integrity sha512-EwMqL+ROSlKzatMhT/aqRq7XWWfzlnHynSBSTJh5M2O78mBiPohiSl4Ysls3HOQkkD9y6L22BW0c9bxK2JguwQ==

react-icons@^4.7.1:
version "4.7.1"
Expand Down

0 comments on commit 42088c3

Please sign in to comment.