Skip to content

Commit 712dd86

Browse files
authored
Merge pull request #71 from inzamam-ul/main
clicking user name wrong URL redirect issue solved
2 parents fb1aca8 + 8b25881 commit 712dd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export function Username(username: string, site: string) {
9393
href:
9494
username === "User Not Found"
9595
? "https://github.com/JacobLinCool/LeetCode-Stats-Card"
96-
: `https://leetcode.${site === "us" ? "com" : "cn"}/u/${username}/`,
96+
: `https://leetcode.${site === "us" ? "com" : "cn"}/${username}/`,
9797
target: "_blank",
9898
},
9999
style: {

0 commit comments

Comments
 (0)