diff --git a/package.json b/package.json index 90e1608..1b1c218 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@vercel/analytics": "^1.3.1", "axios": "^1.7.4", "next": "14.1.2", "react": "^18", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5b8d62f..ac932cc 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from 'next'; import './globals.css'; import localFont from 'next/font/local'; import ClipContainer from '@/components/ClipContainer'; +import { Analytics } from '@vercel/analytics/react'; const pretendard = localFont({ src: '../fonts/PretendardVariable.woff2', @@ -26,6 +27,7 @@ export default function RootLayout({
{children}
+ ); diff --git a/src/components/ClipContainer.tsx b/src/components/ClipContainer.tsx index 584f457..223a65f 100644 --- a/src/components/ClipContainer.tsx +++ b/src/components/ClipContainer.tsx @@ -58,7 +58,7 @@ const ClipContainer = ({ children }: any) => { {path !== '/' && path !== '/request-notification' && ( -
+
router.back()}>
a.mood - b.mood); @@ -1385,4 +1386,4 @@ export const arrangedPhotos: SnapImage[][] = [[], [], []]; sortedData.forEach((item: SnapImage, index) => { arrangedPhotos[index % 3].push(item); -}); \ No newline at end of file +});