From b15ac79ad0701fd4084f7893159b9d9a6c513c35 Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Fri, 2 Aug 2024 21:20:34 +0300 Subject: [PATCH 1/2] Don't mix GTM and GA RoboShield uses GA --- apps/roboshield/package.json | 2 +- apps/roboshield/src/pages/_app.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/roboshield/package.json b/apps/roboshield/package.json index a5cb6d8ad..64707e49f 100644 --- a/apps/roboshield/package.json +++ b/apps/roboshield/package.json @@ -1,6 +1,6 @@ { "name": "roboshield", - "version": "0.1.8", + "version": "0.1.9", "private": true, "scripts": { "build-server": "tsc --project tsconfig.server.json", diff --git a/apps/roboshield/src/pages/_app.tsx b/apps/roboshield/src/pages/_app.tsx index 4430a34b4..e476fbb06 100644 --- a/apps/roboshield/src/pages/_app.tsx +++ b/apps/roboshield/src/pages/_app.tsx @@ -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"; @@ -32,7 +32,7 @@ export default function App(props: AppProps | any) { - {gaId?.length ? : null} + {gaId?.length ? : null} ); } From 7966fefa015a1b64665219217b7f08861a2bd933 Mon Sep 17 00:00:00 2001 From: Clemence Kyara Date: Fri, 2 Aug 2024 21:31:22 +0300 Subject: [PATCH 2/2] Lint code --- apps/roboshield/src/pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/roboshield/src/pages/_app.tsx b/apps/roboshield/src/pages/_app.tsx index e476fbb06..b89c46df6 100644 --- a/apps/roboshield/src/pages/_app.tsx +++ b/apps/roboshield/src/pages/_app.tsx @@ -1,5 +1,5 @@ import { CssBaseline, ThemeProvider } from "@mui/material"; -import { 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";