From 0393aecbddd17f0c36185c5289172613b1b7b7c1 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Wed, 11 Jan 2023 14:00:23 -0300 Subject: [PATCH] minor tweak --- app/containers/Avatar/AvatarWithEdit.tsx | 26 +++++++++++------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/app/containers/Avatar/AvatarWithEdit.tsx b/app/containers/Avatar/AvatarWithEdit.tsx index 1ea5dc9f0..74e1a8dba 100644 --- a/app/containers/Avatar/AvatarWithEdit.tsx +++ b/app/containers/Avatar/AvatarWithEdit.tsx @@ -9,7 +9,7 @@ import { BUTTON_HIT_SLOP } from '../message/utils'; import styles from './styles'; interface IAvatarContainer extends IAvatar { - handleEdit?: () => void; + handleEdit: () => void; } const AvatarWithEdit = ({ @@ -45,19 +45,17 @@ const AvatarWithEdit = ({ isStatic={isStatic} rid={rid} /> - {handleEdit ? ( -