Skip to content

Commit

Permalink
Revert accidental comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jcparkyn committed Jul 7, 2024
1 parent 76d5901 commit fdcecbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@

app.ports.shareUrl.subscribe(({queryState, useClipboard}) => {
const url = new URL(window.location.href);
url.searchParams.delete("state");
url.searchParams.delete("state"); // clean up old-format URLs for back-compat
url.searchParams.set("s", queryState);
// sessionStorage.removeItem("initialSeed");
sessionStorage.removeItem("initialSeed");
if (useClipboard) {
navigator.clipboard.writeText(url.href);
}
Expand Down

0 comments on commit fdcecbc

Please sign in to comment.