File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,6 @@ class Dashboard extends React.Component {
273
273
}
274
274
} ) ;
275
275
} ) . catch ( ( error ) => {
276
- console . log ( 'coming in the error block' ) ;
277
276
console . log ( error ) ;
278
277
this . setState ( {
279
278
configLoadingError : error . message ,
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ export const AmplitudeEvent = {
20
20
} ;
21
21
22
22
export const getPageViewName = ( pathname ) => {
23
- console . log ( 'calling getPageViewName' ) ;
24
23
try {
25
24
const parts = pathname . split ( '/' ) . filter ( part => part ) ;
26
25
// pattern: /apps/{appId}/{pageName}/subPage
@@ -108,8 +107,6 @@ function capitalizeFirstLetter(string) {
108
107
}
109
108
110
109
export const initializeAmplitude = ( userId ) => {
111
- console . log ( 'initialse amplitude' ) ;
112
- console . log ( b4aSettings . BACK4APP_AMPLITUDE_KEY ) ;
113
110
// eslint-disable-next-line no-undef
114
111
if ( ! b4aSettings . BACK4APP_AMPLITUDE_KEY || ! userId ) {
115
112
return ;
@@ -121,7 +118,6 @@ export const initializeAmplitude = (userId) => {
121
118
122
119
123
120
export const amplitudeLogEvent = ( name , data ) => {
124
- console . log ( 'logging amp,itude event' ) ;
125
121
// eslint-disable-next-line no-undef
126
122
if ( ! b4aSettings . BACK4APP_AMPLITUDE_KEY ) {
127
123
return ;
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export function withRouter(Component) {
11
11
const location = useLocation ( ) ;
12
12
13
13
useEffect ( ( ) => {
14
- console . log ( 'coming in the withrouter' ) ;
15
14
const { pathname } = location ;
16
15
const pageName = getPageViewName ( pathname ) ;
17
16
if ( pageName ) {
You can’t perform that action at this time.
0 commit comments