Skip to content

Commit c35718b

Browse files
authored
tweak: remove pingcap account track script (#654)
1 parent f06c0ef commit c35718b

File tree

2 files changed

+0
-57
lines changed

2 files changed

+0
-57
lines changed

gatsby-browser.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import "./src/styles/global.css";
22

3-
import { pageView } from "./scripts/track";
4-
53
export { default as wrapRootElement } from "./src/state/wrap-with-provider";
64

75
export const onClientEntry = () => {
@@ -19,9 +17,3 @@ export const onClientEntry = () => {
1917
=====================================
2018
`);
2119
};
22-
23-
export const onRouteUpdate = ({ location, prevLocation }) => {
24-
if (process.env.NODE_ENV === "production") {
25-
pageView();
26-
}
27-
};

scripts/track.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)