fix frontend not recognizing you

This commit is contained in:
code002lover 2026-01-08 15:15:53 +01:00
parent ccb57637f1
commit 63cdf58671

View File

@ -29,7 +29,7 @@ export const PersonList = ({ people }: Props) => {
</div>
<div className="grid-container">
{people.map((person, index) => {
if (person.name == current_user) {
if (person.name.toLowerCase() === current_user.toLowerCase()) {
return (
<Link
to={`/games#existing-games`}