From 1e29a8efac538ec3210c670793e368b81a81959f Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Tue, 20 Dec 2022 15:13:31 -0300 Subject: [PATCH] tweak IAvatarContainer --- app/containers/Avatar/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/containers/Avatar/index.tsx b/app/containers/Avatar/index.tsx index 4215fbd13..e21056966 100644 --- a/app/containers/Avatar/index.tsx +++ b/app/containers/Avatar/index.tsx @@ -13,7 +13,10 @@ import I18n from '../../i18n'; import { useTheme } from '../../theme'; import styles from './styles'; -type IAvatarContainer = IAvatar & { isUserProfile?: boolean; handleEdit?: () => void }; +interface IAvatarContainer extends IAvatar { + isUserProfile?: boolean; + handleEdit?: () => void; +} const AvatarContainer = ({ style,