File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import React from 'react';
22import { Helmet } from 'react-helmet' ;
33
44import { useIntl } from '@edx/frontend-platform/i18n' ;
5- import { logError } from '@edx/frontend-platform/logging' ;
6- import { initializeHotjar } from '@edx/frontend-enterprise-hotjar' ;
75
86import { ErrorPage } from '@edx/frontend-platform/react' ;
97import { FooterSlot } from '@edx/frontend-component-footer' ;
@@ -27,20 +25,6 @@ export const App = () => {
2725 const hasNetworkFailure = ! masqueradeUser && isError ;
2826 const supportEmail = data ?. platformSettings ?. supportEmail || undefined ;
2927
30- /* istanbul ignore next */
31- React . useEffect ( ( ) => {
32- if ( getConfig ( ) . HOTJAR_APP_ID ) {
33- try {
34- initializeHotjar ( {
35- hotjarId : getConfig ( ) . HOTJAR_APP_ID ,
36- hotjarVersion : getConfig ( ) . HOTJAR_VERSION ,
37- hotjarDebug : ! ! getConfig ( ) . HOTJAR_DEBUG ,
38- } ) ;
39- } catch ( error ) {
40- logError ( error ) ;
41- }
42- }
43- } , [ ] ) ;
4428 return (
4529 < >
4630 < Helmet >
You can’t perform that action at this time.
0 commit comments