From d01069082788d42c657ebb6028bf88594b0784e5 Mon Sep 17 00:00:00 2001 From: su- <30166652+su-u@users.noreply.github.com> Date: Fri, 17 Nov 2023 23:22:00 +0900 Subject: [PATCH] test --- src/app/layout.tsx | 6 ++---- src/components/common/GoogleAnalytics.tsx | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 50b7461..0115602 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -15,10 +15,8 @@ export default function RootLayout({ children }: { children: React.ReactNode }) const className = 'rs-theme-dark'; return ( - - - - + + {children} diff --git a/src/components/common/GoogleAnalytics.tsx b/src/components/common/GoogleAnalytics.tsx index 723c4d1..8d9c9d4 100644 --- a/src/components/common/GoogleAnalytics.tsx +++ b/src/components/common/GoogleAnalytics.tsx @@ -5,8 +5,8 @@ import { usePathname, useSearchParams } from 'next/navigation' import { existsGaId, GA_MEASUREMENT_ID, pageview } from '@/lib/gtag'; const GoogleAnalytics: FC = () => { - const pathname = usePathname() - const searchParams = useSearchParams() + const pathname = usePathname(); + const searchParams = useSearchParams(); useEffect(() => { if (!existsGaId) {