File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import React , { useEffect , useState } from "react"
44import { ToastContainer } from "react-toastify"
55import { AppProgressBar as ProgressBar } from "next-nprogress-bar"
6+ import { GoogleAnalytics } from "@next/third-parties/google"
67import { Inter } from "next/font/google"
78import localFont from "next/font/local"
89import classNames from "classnames"
@@ -16,8 +17,6 @@ import "swiper/css/navigation"
1617import "@styles/nprogress.scss"
1718import SuspenseWrapper from "@components/layout/SuspenseWrapper"
1819import { useCoreStore } from "@lib/stores/store"
19- import { GoogleAnalytics } from '@next/third-parties/google'
20-
2120
2221const inter = Inter ( { subsets : [ "latin" ] } )
2322const pretendardFont = localFont ( {
@@ -69,7 +68,7 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac
6968 < div id = "modal-root" > </ div >
7069 </ Container >
7170
72- < GoogleAnalytics gaId = { process . env . NEXT_PUBLIC_GA_ID } />
71+ < GoogleAnalytics gaId = { process . env . NEXT_PUBLIC_GA_ID || "" } />
7372 </ SuspenseWrapper >
7473 </ body >
7574 </ html >
You can’t perform that action at this time.
0 commit comments