From e0999f701cd1834c3d940113cd8dd5247c5fe95f Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Fri, 19 Apr 2024 00:09:27 +0100 Subject: feature: Nested lists (#110). Fixes #62 * feature: Add support for nested lists * prevent moving the parent to a subtree --- apps/web/app/dashboard/lists/[listId]/page.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'apps/web/app') diff --git a/apps/web/app/dashboard/lists/[listId]/page.tsx b/apps/web/app/dashboard/lists/[listId]/page.tsx index 49bf77f7..f8c5e0b6 100644 --- a/apps/web/app/dashboard/lists/[listId]/page.tsx +++ b/apps/web/app/dashboard/lists/[listId]/page.tsx @@ -1,6 +1,6 @@ import { notFound } from "next/navigation"; import Bookmarks from "@/components/dashboard/bookmarks/Bookmarks"; -import DeleteListButton from "@/components/dashboard/lists/DeleteListButton"; +import ListHeader from "@/components/dashboard/lists/ListHeader"; import { api } from "@/server/api/client"; import { TRPCError } from "@trpc/server"; @@ -26,14 +26,7 @@ export default async function ListPage({ query={{ listId: list.id }} showDivider={true} showEditorCard={true} - header={ -
- - {list.icon} {list.name} - - -
- } + header={} /> ); } -- cgit v1.2.3-70-g09d2