From 1255f4ac3beda221668792f1ceb2340bd2ad2c5b Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Thu, 12 Jan 2023 16:13:35 -0300 Subject: [PATCH] interface avatar container --- app/containers/Avatar/AvatarContainer.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/containers/Avatar/AvatarContainer.tsx b/app/containers/Avatar/AvatarContainer.tsx index 9be1a394a..9262e09a8 100644 --- a/app/containers/Avatar/AvatarContainer.tsx +++ b/app/containers/Avatar/AvatarContainer.tsx @@ -7,10 +7,6 @@ import Avatar from './Avatar'; import { IAvatar } from './interfaces'; import { useAvatarETag } from './useAvatarETag'; -interface IAvatarContainer extends IAvatar { - handleEdit?: () => void; -} - const AvatarContainer = ({ style, text = '', @@ -24,7 +20,7 @@ const AvatarContainer = ({ getCustomEmoji, isStatic, rid -}: IAvatarContainer): React.ReactElement => { +}: IAvatar): React.ReactElement => { const server = useSelector((state: IApplicationState) => state.share.server.server || state.server.server); const serverVersion = useSelector((state: IApplicationState) => state.share.server.version || state.server.version); const { id, token, username } = useSelector(