Skip to content

Commit

Permalink
Merge pull request #177 from AlphadayHQ/dev
Browse files Browse the repository at this point in the history
v2.2.1 — Fix ReactGA
  • Loading branch information
v-almonacid authored Dec 11, 2023
2 parents 54164f9 + 82131e7 commit 9d860a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@alphaday/frontend",
"private": true,
"version": "2.2.0",
"version": "2.2.1",
"type": "module",
"scripts": {
"prepare": "export VITE_COMMIT=$(git rev-parse --short HEAD)",
Expand Down
3 changes: 3 additions & 0 deletions packages/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
useGlobalHooks,
useResolvedView,
useViewRoute,
useGaTracker,
} from "./api/hooks";
import { useGetRemoteStatusQuery } from "./api/services";
import { useAppDispatch } from "./api/store/hooks";
Expand All @@ -30,6 +31,8 @@ const goToLandingPage = () => {
};

const AppRoutes = () => {
useGaTracker();

const dispatch = useAppDispatch();
const { error } = useGetRemoteStatusQuery(undefined, {
pollingInterval: 5 * 60 * 1000, // update every 5 min
Expand Down

0 comments on commit 9d860a6

Please sign in to comment.