Upgrade Next.js to 14.1.0

This commit is contained in:
Sebastien Castiel
2024-01-24 09:50:37 -05:00
parent 2f58e466da
commit 7956156d70
10 changed files with 1037 additions and 163 deletions

View File

@@ -5,7 +5,7 @@ import { getGroup } from '@/lib/api'
import { Metadata } from 'next'
import Link from 'next/link'
import { notFound } from 'next/navigation'
import { PropsWithChildren } from 'react'
import { PropsWithChildren, Suspense } from 'react'
type Props = {
params: {
@@ -41,7 +41,9 @@ export default async function GroupLayout({
</h1>
<div className="flex gap-2 justify-between">
<GroupTabs groupId={groupId} />
<Suspense>
<GroupTabs groupId={groupId} />
</Suspense>
<ShareButton group={group} />
</div>
</div>