From 1305e8d4bcac87ffccfe434b4f81c4fb1069b25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 8 Jul 2026 09:56:15 +0200 Subject: [PATCH] docs(documents): correct the detail-sheet header comment for the Share action --- src/components/documents/document-detail-sheet.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/documents/document-detail-sheet.tsx b/src/components/documents/document-detail-sheet.tsx index e35dfddbd..463b78044 100644 --- a/src/components/documents/document-detail-sheet.tsx +++ b/src/components/documents/document-detail-sheet.tsx @@ -13,7 +13,8 @@ * errors surface inline (`role="alert"`), never as a QueryErrorCard. * Delete soft-deletes with an Undo toast (restore endpoint); a restore * refusal maps `meta.reason` (`purged`, `duplicateExists`) to translated - * copy. No share affordance anywhere — deliberately. + * copy. A Share action in the footer opens the clinician share-link create + * flow (shared `ShareLinkCreateForm`) with this document pre-attached. */ import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import { Check, Download, Pencil, Plus, Share2, Trash2 } from "lucide-react";