a tool for shared writing and social publishing

don't show edit link if no leaflet

+2 -1
+2 -1
app/lish/[did]/[publication]/[rkey]/LinearDocumentPage.tsx
··· 105 105 {identity && 106 106 identity.atp_did === 107 107 document.documents_in_publications[0]?.publications 108 - ?.identity_did ? ( 108 + ?.identity_did && 109 + document.leaflets_in_publications[0] ? ( 109 110 <a 110 111 href={`https://leaflet.pub/${document.leaflets_in_publications[0]?.leaflet}`} 111 112 className="flex gap-2 items-center hover:!no-underline selected-outline px-2 py-0.5 bg-accent-1 text-accent-2 font-bold w-fit rounded-lg !border-accent-1 !outline-accent-1 mx-auto"