We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07b169 commit 1ea7a22Copy full SHA for 1ea7a22
packages/app/src/app/pages/index.tsx
@@ -88,8 +88,11 @@ const RoutesComponent: React.FC = () => {
88
<Container>
89
<Route
90
path="/"
91
- render={({ location }) => {
92
- if (process.env.NODE_ENV === 'production') {
+ render={({ location, history }) => {
+ if (
93
+ process.env.NODE_ENV === 'production' &&
94
+ history.action !== 'REPLACE'
95
+ ) {
96
routeDebugger(
97
`Sending '${location.pathname + location.search}' to analytics.`
98
);
0 commit comments