From f2089428a828f3af2c48b904aebdd7cd2b12822f Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Mon, 21 Oct 2024 13:19:28 +0530 Subject: [PATCH] remove id prop --- src/Components/Common/Avatar.tsx | 3 --- src/Components/Common/AvatarEditable.tsx | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Components/Common/Avatar.tsx b/src/Components/Common/Avatar.tsx index 3dcbd0e67ac..1d20c3ad18f 100644 --- a/src/Components/Common/Avatar.tsx +++ b/src/Components/Common/Avatar.tsx @@ -43,7 +43,6 @@ const initials = (name: string): string => { }; interface AvatarProps { - id?: string; colors?: [string, string]; name: string; imageUrl?: string; @@ -51,7 +50,6 @@ interface AvatarProps { } const Avatar: React.FC = ({ - id, colors: propColors, name, imageUrl, @@ -60,7 +58,6 @@ const Avatar: React.FC = ({ const [bgColor] = propColors || toColor(name); return (
void; }