Skip to content

Commit

Permalink
chore: vercel/analytics 컴포넌트 layout에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HiimKwak committed Nov 28, 2023
1 parent 89ebe37 commit 3317217
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './globals.css';

import { Analytics } from '@vercel/analytics/react';
import type { Metadata } from 'next';
import { Noto_Sans_KR } from 'next/font/google';

Expand Down Expand Up @@ -31,7 +32,10 @@ export default function RootLayout({
<body className={`${inter.className} m-auto max-w-md`}>
<ReactQueryProvider>
<Header />
<main className="px-4">{children}</main>
<main className="px-4">
{children}
<Analytics />
</main>
<Footer />
</ReactQueryProvider>
</body>
Expand Down

0 comments on commit 3317217

Please sign in to comment.