From b5e45f9b07966cd0c22e7861b35031c2a9fe363d Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Sun, 5 Oct 2025 12:16:27 -0400 Subject: [PATCH] check for draft before rendering edit link --- app/lish/[did]/[publication]/[rkey]/PostPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lish/[did]/[publication]/[rkey]/PostPage.tsx b/app/lish/[did]/[publication]/[rkey]/PostPage.tsx index 6ebfe65e..3e4b2d85 100644 --- a/app/lish/[did]/[publication]/[rkey]/PostPage.tsx +++ b/app/lish/[did]/[publication]/[rkey]/PostPage.tsx @@ -85,8 +85,8 @@ export function PostPage({
{identity && identity.atp_did === - document.documents_in_publications[0]?.publications - ?.identity_did ? ( + document.documents_in_publications[0]?.publications?.identity_did && + document.leaflets_in_publications[0] ? (