Skip to content

Commit

Permalink
Update src/pages/NewChatConfirmPage.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com>
  • Loading branch information
wildan-m and s77rt authored Jun 13, 2024
1 parent 1a99185 commit 4a042be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/NewChatConfirmPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function NewChatConfirmPage({newGroupDraft, allPersonalDetails}: NewChatConfirmP
source={stashedLocalAvatarImage ?? ReportUtils.getDefaultGroupAvatar(optimisticReportID.current)}
onImageSelected={(image) => {
setAvatarFile(image);
Report.setGroupDraft({avatarUri: image?.uri ?? '', avatarFileName: image?.name ?? '', avatarFileType: image?.type});
Report.setGroupDraft({avatarUri: image.uri ?? '', avatarFileName: image.name ?? '', avatarFileType: image.type});
}}
onImageRemoved={() => {
setAvatarFile(undefined);
Expand Down

0 comments on commit 4a042be

Please sign in to comment.