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
28
pulls
pipelines
check for draft before rendering edit link
awarm.space
5 months ago
b5e45f9b
c405d6da
+2
-2
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
PostPage.tsx
+2
-2
app/lish/[did]/[publication]/[rkey]/PostPage.tsx
···
85
85
<hr className="border-border-light mb-4 mt-4" />
86
86
{identity &&
87
87
identity.atp_did ===
88
88
-
document.documents_in_publications[0]?.publications
89
89
-
?.identity_did ? (
88
88
+
document.documents_in_publications[0]?.publications?.identity_did &&
89
89
+
document.leaflets_in_publications[0] ? (
90
90
<a
91
91
href={`https://leaflet.pub/${document.leaflets_in_publications[0].leaflet}`}
92
92
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"