mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
Merge pull request #3368 from tylershuster/dm-dedupe
interface: deduplicate InviteSearch results
This commit is contained in:
commit
f421d5c453
@ -395,7 +395,7 @@ export class InviteSearch extends Component<
|
||||
);
|
||||
});
|
||||
|
||||
const shipResults = state.searchResults.ships.map((ship) => {
|
||||
const shipResults = Array.from(new Set(state.searchResults.ships)).map((ship) => {
|
||||
const nicknames = (this.state.contacts.get(ship) || [])
|
||||
.filter((e) => {
|
||||
return !(e === '');
|
||||
|
Loading…
Reference in New Issue
Block a user