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
properly parse block indexes for quote urls
awarm.space
6 months ago
0c50d8ab
ae320a88
+2
-2
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
QuoteHandler.tsx
+2
-2
app/lish/[did]/[publication]/[rkey]/QuoteHandler.tsx
···
87
87
);
88
88
let position: QuotePosition = {
89
89
start: {
90
90
-
block: startIndex?.index.split(".").map(parseInt),
90
90
+
block: startIndex?.index.split(".").map((i) => parseInt(i)),
91
91
offset: startOffset,
92
92
},
93
93
end: {
94
94
-
block: endIndex.index.split(".").map(parseInt),
94
94
+
block: endIndex.index.split(".").map((i) => parseInt(i)),
95
95
offset: endOffset,
96
96
},
97
97
};