diff --git a/app/containers/Avatar/AvatarWithEdit.tsx b/app/containers/Avatar/AvatarWithEdit.tsx
index 74e1a8dba..1ea5dc9f0 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,17 +45,19 @@ const AvatarWithEdit = ({
isStatic={isStatic}
rid={rid}
/>
-
+ {handleEdit ? (
+
+ ) : null}
>
);
};