diff options
author | Eric Bailey <git@esb.lol> | 2024-03-19 14:18:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 12:18:57 -0700 |
commit | dfe88e165696aeb222aa6d2bd5b7b94ed3eda3f6 (patch) | |
tree | ec95c154f31162bc07437929e84d591f8c2b8485 /src/state/queries/actor-autocomplete.ts | |
parent | b9474a5d55be0cf8129db30ff97c6144a3599ad8 (diff) | |
download | voidsky-dfe88e165696aeb222aa6d2bd5b7b94ed3eda3f6.tar.zst |
Use consistent avatar shape/defaults for labelers (#3257)
* Add type: labeler to easy spots * Search and ProfileCard * Filter out of suggested follows * ComposeReplyTo * PReviewable avatar in posts * Lists * PostMeta * Notifications * Autocomplete * Straggler * Bump sdk
Diffstat (limited to 'src/state/queries/actor-autocomplete.ts')
-rw-r--r-- | src/state/queries/actor-autocomplete.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/state/queries/actor-autocomplete.ts b/src/state/queries/actor-autocomplete.ts index f14b3d65f..e6bf04ba3 100644 --- a/src/state/queries/actor-autocomplete.ts +++ b/src/state/queries/actor-autocomplete.ts @@ -101,13 +101,7 @@ function computeSuggestions( } for (const item of searched) { if (!items.find(item2 => item2.handle === item.handle)) { - items.push({ - did: item.did, - handle: item.handle, - displayName: item.displayName, - avatar: item.avatar, - labels: item.labels, - }) + items.push(item) } } return items.filter(profile => { |