Skip to content

Commit 5549de5

Browse files
committed
chore: remove debugging
Signed-off-by: heitorlessa <[email protected]>
1 parent 478ec5f commit 5549de5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: docs/gatsby-browser.js

-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { Analytics, AWSKinesisFirehoseProvider } from '@aws-amplify/analytics';
44
import awsconfig from './src/aws-exports';
55

66
export const onRouteUpdate = ({ location, prevLocation }) => {
7-
console.log('new pathname', location)
8-
console.log('old pathname', prevLocation ? prevLocation.pathname : null)
97
Analytics.record({
108
data: {
119
url: window.location.href,
@@ -17,10 +15,8 @@ export const onRouteUpdate = ({ location, prevLocation }) => {
1715
}
1816

1917
export const onClientEntry = () => {
20-
console.log("Starting now..")
2118
Analytics.addPluggable(new AWSKinesisFirehoseProvider());
2219
Amplify.configure(awsconfig);
23-
Amplify.Logger.LOG_LEVEL = 'DEBUG';
2420

2521
Analytics.configure({
2622
AWSKinesisFirehose: {

0 commit comments

Comments
 (0)