docs(documents): correct the detail-sheet header comment for the Share action

This commit is contained in:
Marc-André Bombeck committed 2026-07-08 09:56:15 +02:00
1 parent 46c85e8671
commit 1305e8d4bc
1 file changed
+2 -1
@@ -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";