chore(deps): Update dependencies and enhance API error handling

- Added '@vercel/analytics' to package.json for improved analytics tracking.
- Updated 'next' version from 15.0.2 to 15.0.3 to incorporate the latest features and fixes.
- Refactored API routes for invitations and studies to improve error handling and response structure.
- Enhanced permission checks in the invitations and studies API to ensure proper access control.
- Removed the participants dashboard page as part of a restructuring effort.
- Updated the database schema to include environment settings for users and studies.
- Improved the dashboard components to handle loading states and display statistics more effectively.
This commit is contained in:
2024-12-04 12:32:54 -05:00
parent cb4c0f9c87
commit 95b106d9e9
22 changed files with 1160 additions and 771 deletions

View File

@@ -1,6 +1,7 @@
import {
ClerkProvider
} from '@clerk/nextjs';
import { Analytics } from "@vercel/analytics/react"
import { Inter } from 'next/font/google';
import './globals.css';
import { Metadata } from 'next';
@@ -24,6 +25,7 @@ export default function RootLayout({
}) {
return (
<ClerkProvider>
<Analytics />
<html lang="en">
<body className={inter.className}>
{children}