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) {