fix frontend not recognizing you
This commit is contained in:
parent
ccb57637f1
commit
63cdf58671
@ -29,7 +29,7 @@ export const PersonList = ({ people }: Props) => {
|
|||||||
</div>
|
</div>
|
||||||
<div className="grid-container">
|
<div className="grid-container">
|
||||||
{people.map((person, index) => {
|
{people.map((person, index) => {
|
||||||
if (person.name == current_user) {
|
if (person.name.toLowerCase() === current_user.toLowerCase()) {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
to={`/games#existing-games`}
|
to={`/games#existing-games`}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user