Unique key
For any unique key errors use the below snippet for your root div under a list being rendered and it'll make the error go away.
<div key={item.id + Math.random()}>// Your content</div>
Finding unique values
Get all assignees and folowers merged minus logged in user
uniqBy([…assignees, …followers],'id').filter({id} => id !=== currentUser.id);