tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
291
fork
atom
a tool for shared writing and social publishing
291
fork
atom
overview
issues
31
pulls
pipelines
clear query params when copying quote link
awarm.space
6 months ago
7ab7cf83
66465b99
+3
1 changed file
expand all
collapse all
unified
split
app
lish
[did]
[publication]
[rkey]
QuoteHandler.tsx
+3
app/lish/[did]/[publication]/[rkey]/QuoteHandler.tsx
···
135
135
currentUrl.pathname = currentUrl.pathname.split("/l-quote/")[0];
136
136
}
137
137
currentUrl.pathname = currentUrl.pathname + `/l-quote/${props.position}`;
138
138
+
139
139
+
// Clear existing query parameters
140
140
+
currentUrl.search = "";
138
141
139
142
currentUrl.hash = `#${pos?.start.block.join(".")}_${pos?.start.offset}`;
140
143
return [currentUrl.toString(), pos];