Skip to content

Commit 8b25881

Browse files
committed
clicking user name wrong URL redirect issue solved
1 parent fb1aca8 commit 8b25881

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)