tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
don't render post edit link if no leaflet
awarm.space
6 months ago
a9f39f23
b4dccb84
+2
-1
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
PostHeader
PostHeader.tsx
+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
55
-
.identity_did && (
55
55
+
.identity_did &&
56
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}`}