aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/dashboard/lists
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/dashboard/lists')
-rw-r--r--apps/web/app/dashboard/lists/[listId]/page.tsx13
1 files changed, 6 insertions, 7 deletions
diff --git a/apps/web/app/dashboard/lists/[listId]/page.tsx b/apps/web/app/dashboard/lists/[listId]/page.tsx
index de0f5054..4714a71c 100644
--- a/apps/web/app/dashboard/lists/[listId]/page.tsx
+++ b/apps/web/app/dashboard/lists/[listId]/page.tsx
@@ -6,15 +6,14 @@ import { TRPCError } from "@trpc/server";
import { BookmarkListContextProvider } from "@karakeep/shared-react/hooks/bookmark-list-context";
-export default async function ListPage({
- params,
- searchParams,
-}: {
- params: { listId: string };
- searchParams?: {
+export default async function ListPage(props: {
+ params: Promise<{ listId: string }>;
+ searchParams?: Promise<{
includeArchived?: string;
- };
+ }>;
}) {
+ const searchParams = await props.searchParams;
+ const params = await props.params;
const userSettings = await api.users.settings();
let list;
try {