a tool for shared writing and social publishing

don't render post edit link if no leaflet

+2 -1
+2 -1
app/lish/[did]/[publication]/[rkey]/PostHeader/PostHeader.tsx
··· 52 52 {identity && 53 53 identity.atp_did === 54 54 document.documents_in_publications[0]?.publications 55 - .identity_did && ( 55 + .identity_did && 56 + document.leaflets_in_publications[0] && ( 56 57 <a 57 58 className=" rounded-full flex place-items-center" 58 59 href={`https://leaflet.pub/${document.leaflets_in_publications[0].leaflet}`}