move hooks before early return in BoardView, remove unused attachmentMode prop

This commit is contained in:
2026-02-15 19:30:58 +02:00
parent 443588d4cb
commit 0b70ee656f
3 changed files with 18 additions and 23 deletions

View File

@@ -6,7 +6,6 @@ import type { Attachment } from "@/types/board";
interface AttachmentSectionProps {
cardId: string;
attachments: Attachment[];
attachmentMode: "link" | "copy";
}
export function AttachmentSection({