diff --git a/next.config.js b/next.config.js index ae812ae..0a54ca3 100644 --- a/next.config.js +++ b/next.config.js @@ -11,5 +11,4 @@ module.exports = { API_URL: process.env.API_URL, BASE_URL: process.env.BASE_URL, }, - transpilePackages: ['react-hotjar'], }; diff --git a/package.json b/package.json index 6dfb557..e9912ac 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/pages/_app.js b/src/pages/_app.js index 22fe3c5..2a058b0 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -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); } }, []); diff --git a/yarn.lock b/yarn.lock index b58db13..1a69c19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"