From dd53ccb9624e719d019a8fe29fcd66415c1b1528 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Wed, 20 Aug 2025 15:57:34 +0300 Subject: deps: Upgrade expo & nextjs to react 19 (#1565) * Attempt to upgrade expo 53 * Attempt upgrade nextjs * Fix a bunch of peer deps * upgrade some docs deps * fix typecheck * update the shadcn calendar component * more fixes * more fixes * revert ollama upgrade * update react version to use carets * remove react-select from landing * fix the typescript error caused by customFetch * upgrade the new grid user setting to nextjs 15 * mobile: enable react canary to support react 19.1 * upgrade react native menu * fix navigation context error --- apps/web/app/public/lists/[listId]/page.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'apps/web/app/public') diff --git a/apps/web/app/public/lists/[listId]/page.tsx b/apps/web/app/public/lists/[listId]/page.tsx index 4a4ce414..17e6b947 100644 --- a/apps/web/app/public/lists/[listId]/page.tsx +++ b/apps/web/app/public/lists/[listId]/page.tsx @@ -6,11 +6,10 @@ import PublicListHeader from "@/components/public/lists/PublicListHeader"; import { api } from "@/server/api/client"; import { TRPCError } from "@trpc/server"; -export async function generateMetadata({ - params, -}: { - params: { listId: string }; +export async function generateMetadata(props: { + params: Promise<{ listId: string }>; }): Promise { + const params = await props.params; try { const resp = await api.publicBookmarks.getPublicListMetadata({ listId: params.listId, @@ -38,11 +37,10 @@ export async function generateMetadata({ }; } -export default async function PublicListPage({ - params, -}: { - params: { listId: string }; +export default async function PublicListPage(props: { + params: Promise<{ listId: string }>; }) { + const params = await props.params; try { const { list, bookmarks, nextCursor } = await api.publicBookmarks.getPublicBookmarksInList({ -- cgit v1.2.3-70-g09d2