show usernames in confirmation step

This commit is contained in:
Eric Rosenbaum 2021-07-14 16:27:00 -04:00
parent 1b455d6fbd
commit 43ee5896b5

View file

@ -28,14 +28,14 @@ const TransferOwnershipConfirmation = ({
<TransferOwnershipTile
key={userId}
id={userId}
username={'current owner username'}
username={items.find(item => item.id===userId).username}
isCreator={false}
/>
<span></span>
<TransferOwnershipTile
key={selectedId}
id={selectedId}
username={'new owner username'}
username={items.find(item => item.id===selectedId).username}
isCreator={true}
/>
</div>