From 091d43869454651bc2e66341c2a8334fda2b773d Mon Sep 17 00:00:00 2001 From: 7w1 Date: Fri, 8 May 2026 15:19:23 -0500 Subject: [PATCH] lint --- src/app/components/user-profile/CreatorChip.tsx | 2 -- src/app/components/user-profile/PowerChip.tsx | 2 -- src/app/components/user-profile/UserChips.tsx | 8 -------- src/app/components/user-profile/UserRoomProfile.tsx | 2 +- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/app/components/user-profile/CreatorChip.tsx b/src/app/components/user-profile/CreatorChip.tsx index e2cfc80cd..5a83c8351 100644 --- a/src/app/components/user-profile/CreatorChip.tsx +++ b/src/app/components/user-profile/CreatorChip.tsx @@ -20,13 +20,11 @@ import { PowerColorBadge, PowerIcon } from '$components/power'; import * as css from './styles.css'; export function CreatorChip({ - backgroundColor, innerColor, cardColor, textColor, chipSurfaceStyle, }: { - backgroundColor?: string; innerColor?: string; cardColor?: string; textColor?: string; diff --git a/src/app/components/user-profile/PowerChip.tsx b/src/app/components/user-profile/PowerChip.tsx index 7c43737e2..c80339dc4 100644 --- a/src/app/components/user-profile/PowerChip.tsx +++ b/src/app/components/user-profile/PowerChip.tsx @@ -150,14 +150,12 @@ function SharedPowerAlert({ power, onCancel, onChange }: SharedPowerAlertProps) export function PowerChip({ userId, - backgroundColor, innerColor, cardColor, textColor, chipSurfaceStyle, }: { userId: string; - backgroundColor?: string; innerColor?: string; cardColor?: string; textColor?: string; diff --git a/src/app/components/user-profile/UserChips.tsx b/src/app/components/user-profile/UserChips.tsx index d47f206cb..e0ddd8056 100644 --- a/src/app/components/user-profile/UserChips.tsx +++ b/src/app/components/user-profile/UserChips.tsx @@ -51,14 +51,12 @@ export function ServerChip({ innerColor, cardColor, textColor, - backgroundColor, chipSurfaceStyle, }: { server: string; innerColor?: string; cardColor?: string; textColor?: string; - backgroundColor?: string; chipSurfaceStyle?: CSSProperties; }) { const mx = useMatrixClient(); @@ -187,14 +185,12 @@ export function ShareChip({ innerColor, cardColor, textColor, - backgroundColor, chipSurfaceStyle, }: { userId: string; innerColor?: string; cardColor?: string; textColor?: string; - backgroundColor?: string; chipSurfaceStyle?: CSSProperties; }) { const [cords, setCords] = useState(); @@ -296,14 +292,12 @@ type MutualRoomsData = { export function MutualRoomsChip({ userId, - backgroundColor, innerColor, cardColor, textColor, chipSurfaceStyle, }: { userId: string; - backgroundColor?: string; innerColor?: string; cardColor?: string; textColor?: string; @@ -529,14 +523,12 @@ export function IgnoredUserAlert() { export function OptionsChip({ userId, - backgroundColor, innerColor, cardColor, textColor, chipSurfaceStyle, }: { userId: string; - backgroundColor?: string; innerColor?: string; cardColor?: string; textColor?: string; diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index 76d947c32..ac3cc6da9 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -532,7 +532,7 @@ export function UserRoomProfile({ userId, initialProfile }: Readonly