minor tweak

This commit is contained in:
Reinaldo Neto 2023-01-11 14:00:23 -03:00
parent 3db96db70c
commit 0393aecbdd
1 changed files with 12 additions and 14 deletions

View File

@ -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,7 +45,6 @@ const AvatarWithEdit = ({
isStatic={isStatic}
rid={rid}
/>
{handleEdit ? (
<Button
title={I18n.t('Edit')}
type='secondary'
@ -57,7 +56,6 @@ const AvatarWithEdit = ({
color={colors.titleText}
hitSlop={BUTTON_HIT_SLOP}
/>
) : null}
</>
);
};