From 1cd3850a26b3416f034e13375044dc6970414df3 Mon Sep 17 00:00:00 2001 From: 7w1 Date: Thu, 19 Mar 2026 22:18:52 -0500 Subject: [PATCH] lint stuff --- src/app/components/user-profile/UserRoomProfile.tsx | 2 +- src/app/utils/pronouns.test.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index 5d0f9e7e..e11deaa8 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -95,7 +95,7 @@ function UserExtendedSection({ const languagesToFilterFor = getSettings().filterPronounsLanguages ?? ['en']; const pronouns = filterPronounsByLanguage( - profile.pronouns!, + profile.pronouns, languageFilterEnabled, languagesToFilterFor ) diff --git a/src/app/utils/pronouns.test.ts b/src/app/utils/pronouns.test.ts index e0471ce6..d31361ba 100644 --- a/src/app/utils/pronouns.test.ts +++ b/src/app/utils/pronouns.test.ts @@ -83,7 +83,6 @@ describe('filterPronounsByLanguage', () => { }); it('returns empty array for non-array input', () => { - // @ts-expect-error — testing runtime safety expect(filterPronounsByLanguage(null, true, ['en'])).toEqual([]); }); });