Skip to content

Commit

Permalink
Add / to the created link
Browse files Browse the repository at this point in the history
Signed-off-by: Bipul Adhikari <[email protected]>
  • Loading branch information
bipuladh committed Sep 20, 2024
1 parent 8a9e485 commit 2744082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Results/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export const getLink = (
if (pathname.endsWith("/") && pathname !== "/") {
link += pathname.substring(0, pathname.length - 1);
}
link += `#?state=${gistID}`;
link += `#/?state=${gistID}`;
return link;
};

0 comments on commit 2744082

Please sign in to comment.