Skip to content

Commit

Permalink
Merge pull request #818 from CodeForAfrica/fix/roboshield_ga
Browse files Browse the repository at this point in the history
@/roboshield Fix GA initialisation
  • Loading branch information
kilemensi authored Aug 2, 2024
2 parents fe3bd0f + 7966fef commit 4f19336
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/roboshield/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "roboshield",
"version": "0.1.8",
"version": "0.1.9",
"private": true,
"scripts": {
"build-server": "tsc --project tsconfig.server.json",
Expand Down
4 changes: 2 additions & 2 deletions apps/roboshield/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CssBaseline, ThemeProvider } from "@mui/material";
import { GoogleTagManager as GoogleAnalytics } from "@next/third-parties/google";
import { GoogleAnalytics } from "@next/third-parties/google";
import type { AppProps } from "next/app";
import Head from "next/head";
import { ReactNode } from "react";
Expand Down Expand Up @@ -32,7 +32,7 @@ export default function App(props: AppProps | any) {
</GlobalProvider>
</ThemeProvider>
</AppCacheProvider>
{gaId?.length ? <GoogleAnalytics gtmId={gaId} /> : null}
{gaId?.length ? <GoogleAnalytics gaId={gaId} /> : null}
</>
);
}

0 comments on commit 4f19336

Please sign in to comment.