Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit d1e6a19

Browse files
committed
chore: Add @vercel/analytics in layout
1 parent ec90dea commit d1e6a19

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { ReactNode } from 'react';
22
import '@/styles/global.scss';
33
import { Metadata } from 'next';
4+
import { Analytics } from '@vercel/analytics/react';
45

56
import { CONFIG_TITLE } from '../config';
67

@@ -39,5 +40,10 @@ interface Props {
3940
}
4041

4142
export default function RootLayout({ children }: Props) {
42-
return children;
43+
return (
44+
<>
45+
{children}
46+
<Analytics />
47+
</>
48+
);
4349
}

0 commit comments

Comments
 (0)