From 63cdf586710031fd33890cba29bf3f26f5787e4c Mon Sep 17 00:00:00 2001 From: code002lover Date: Thu, 8 Jan 2026 15:15:53 +0100 Subject: [PATCH] fix frontend not recognizing you --- frontend/src/PersonList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/PersonList.tsx b/frontend/src/PersonList.tsx index e955ebe..4c0a6c7 100644 --- a/frontend/src/PersonList.tsx +++ b/frontend/src/PersonList.tsx @@ -29,7 +29,7 @@ export const PersonList = ({ people }: Props) => {
{people.map((person, index) => { - if (person.name == current_user) { + if (person.name.toLowerCase() === current_user.toLowerCase()) { return (