Skip to content

Commit

Permalink
chore(visualization): add @vercel/analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Oct 20, 2023
1 parent ea7f6a6 commit dedf6d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions websites/visualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"@suspensive/react-query": "workspace:1.17.1",
"@tanstack/react-query": "^4.29.5",
"@tanstack/react-query-devtools": "^4.29.5",
"@vercel/analytics": "^1.1.1",
"axios": "^1.4.0",
"next": "^13.4.4",
"react": "^18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions websites/visualization/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './global.css'
import { Analytics } from '@vercel/analytics/react'
import type { Metadata } from 'next'
import { CommonLayout } from './CommonLayout'
import { Providers } from './providers'
Expand All @@ -14,6 +15,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<Providers>
<CommonLayout>{children}</CommonLayout>
</Providers>
<Analytics />
</body>
</html>
)
Expand Down

2 comments on commit dedf6d6

@vercel
Copy link

@vercel vercel bot commented on dedf6d6 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on dedf6d6 Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

visualization – ./websites/visualization

visualization.suspensive.org
visualization-git-main-suspensive.vercel.app
visualization-suspensive.vercel.app

Please sign in to comment.