From 1d716a9438d4dbb5a53fae17e028244dc07beebe Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 8 Aug 2023 21:30:33 +0100 Subject: [PATCH] Add confirmation on withdraw request --- src/components/Friends/FriendProgressItem.tsx | 56 +++++++++++++------ 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/src/components/Friends/FriendProgressItem.tsx b/src/components/Friends/FriendProgressItem.tsx index 6b0445dd5..c821f4e50 100644 --- a/src/components/Friends/FriendProgressItem.tsx +++ b/src/components/Friends/FriendProgressItem.tsx @@ -238,22 +238,46 @@ export function FriendProgressItem(props: FriendProgressItemProps) { Request Sent - - - + <> + {isConfirming !== 'sent' && ( + + )} + + {isConfirming === 'sent' && ( + + Are you sure?{' '} + {' '} + + + )} + )}