a tool for shared writing and social publishing

clear query params when copying quote link

+3
+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 + 139 + // Clear existing query parameters 140 + currentUrl.search = ""; 138 141 139 142 currentUrl.hash = `#${pos?.start.block.join(".")}_${pos?.start.offset}`; 140 143 return [currentUrl.toString(), pos];