Skip to content

Commit a89ba2f

Browse files
authored
fix: remove console.logs (#610)
1 parent 220de84 commit a89ba2f

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/dashboard/Dashboard.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ class Dashboard extends React.Component {
273273
}
274274
});
275275
}).catch((error) => {
276-
console.log('coming in the error block');
277276
console.log(error);
278277
this.setState({
279278
configLoadingError: error.message,

src/lib/amplitudeEvents.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const AmplitudeEvent = {
2020
};
2121

2222
export const getPageViewName = (pathname) => {
23-
console.log('calling getPageViewName');
2423
try {
2524
const parts = pathname.split('/').filter(part => part);
2625
// pattern: /apps/{appId}/{pageName}/subPage
@@ -108,8 +107,6 @@ function capitalizeFirstLetter(string) {
108107
}
109108

110109
export const initializeAmplitude = (userId) => {
111-
console.log('initialse amplitude');
112-
console.log(b4aSettings.BACK4APP_AMPLITUDE_KEY);
113110
// eslint-disable-next-line no-undef
114111
if (!b4aSettings.BACK4APP_AMPLITUDE_KEY || !userId) {
115112
return;
@@ -121,7 +118,6 @@ export const initializeAmplitude = (userId) => {
121118

122119

123120
export const amplitudeLogEvent = (name, data) => {
124-
console.log('logging amp,itude event');
125121
// eslint-disable-next-line no-undef
126122
if (!b4aSettings.BACK4APP_AMPLITUDE_KEY) {
127123
return;

src/lib/withRouter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export function withRouter(Component) {
1111
const location = useLocation();
1212

1313
useEffect(() => {
14-
console.log('coming in the withrouter');
1514
const { pathname } = location;
1615
const pageName = getPageViewName(pathname);
1716
if (pageName) {

0 commit comments

Comments
 (0)