Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member listing links do not work if username has any capitalization #243

Closed
ThindalTV opened this issue Jul 5, 2022 · 1 comment
Closed

Comments

@ThindalTV
Copy link
Collaborator

The link from the member list does not work and just returns an empty page. Refreshing the page that you got to via the link will update the url to the correct capitalization and show the profile.

@ThindalTV
Copy link
Collaborator Author

ThindalTV commented Jul 5, 2022

<Link
to={`/members/${username.toLowerCase()}`}
className="memberName"
>
<h2>{person.frontmatter.username}</h2>
</Link>
<Link
className="member-image"
to={`/members/${username.toLowerCase()}`}
>

property "to" with toLowerCase() SHOULD be the problem, but I'm not able to test it right now.

Bug was found by Jimmy from CodingAfterWork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant