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
fix adding local comments
awarm.space
3 months ago
07f3dc12
101877bd
+5
-2
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
Interactions
Comments
CommentBox.tsx
+5
-2
app/lish/[did]/[publication]/[rkey]/Interactions/Comments/CommentBox.tsx
···
1
1
-
import { UnicodeString } from "@atproto/api";
1
1
+
import { AtUri, UnicodeString } from "@atproto/api";
2
2
import { autolink } from "components/Blocks/TextBlock/autolink-plugin";
3
3
import { multiBlockSchema } from "components/Blocks/TextBlock/schema";
4
4
import { PubLeafletRichtextFacet } from "lexicons/api";
···
196
196
{
197
197
record: comment.record,
198
198
uri: comment.uri,
199
199
-
bsky_profiles: { record: comment.profile as Json },
199
199
+
bsky_profiles: {
200
200
+
record: comment.profile as Json,
201
201
+
did: new AtUri(comment.uri).host,
202
202
+
},
200
203
},
201
204
],
202
205
}));