diff --git a/frontend/src/app/settings/page.jsx b/frontend/src/app/settings/page.jsx index b2e59de..a7c261e 100644 --- a/frontend/src/app/settings/page.jsx +++ b/frontend/src/app/settings/page.jsx @@ -42,14 +42,14 @@ export default function Settings() { }, []); const isActive = (tempChar) => { - return userData.characteristics.includes(tempChar); + return userData?.characteristics.includes(tempChar); }; return ( <>

Profile

- {userData && characteristics.length > 0 ? ( + {userData.username && characteristics.length > 0 ? ( <>