From aeffc9f4ce891869e62794149d6a3c72c1b67822 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Thu, 30 May 2019 04:40:30 +1000 Subject: [PATCH] HOTFIX --- src/components/utilities/google_analytics.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utilities/google_analytics.jsx b/src/components/utilities/google_analytics.jsx index ca9593a..f19e341 100644 --- a/src/components/utilities/google_analytics.jsx +++ b/src/components/utilities/google_analytics.jsx @@ -16,7 +16,7 @@ class GoogleAnalytics extends React.Component { componentDidUpdate({location: prevLocation}) { const { location: { pathname, search } } = this.props; const isDifferentPathname = pathname !== prevLocation.pathname; - const idDifferentSearch = search !== prevLocation.search; + const isDifferentSearch = search !== prevLocation.search; if (isDifferentPathname || isDifferentSearch) { this.logPageChange(pathname, search);