about summary refs log tree commit diff
path: root/src/view/shell/desktop/Search.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-04-27 13:15:04 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-04-27 13:15:04 -0500
commit301c2e5bebb2a9077dd0692459a71eadb6c6d1dd (patch)
tree1a7cdd0fd895dd70ade830bc7e9e9ecc3a93b66e /src/view/shell/desktop/Search.tsx
parentda06b608f2992b4a18ca51b8e6919ef4d32aad7a (diff)
parent1d50ddb378d5c6954d4cf8a6145b4486b9497107 (diff)
downloadvoidsky-301c2e5bebb2a9077dd0692459a71eadb6c6d1dd.tar.zst
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/view/shell/desktop/Search.tsx')
-rw-r--r--src/view/shell/desktop/Search.tsx9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/view/shell/desktop/Search.tsx b/src/view/shell/desktop/Search.tsx
index 995471944..5504e9415 100644
--- a/src/view/shell/desktop/Search.tsx
+++ b/src/view/shell/desktop/Search.tsx
@@ -85,14 +85,7 @@ export const DesktopSearch = observer(function DesktopSearch() {
           {autocompleteView.searchRes.length ? (
             <>
               {autocompleteView.searchRes.map((item, i) => (
-                <ProfileCard
-                  key={item.did}
-                  handle={item.handle}
-                  displayName={item.displayName}
-                  avatar={item.avatar}
-                  labels={item.labels}
-                  noBorder={i === 0}
-                />
+                <ProfileCard key={item.did} profile={item} noBorder={i === 0} />
               ))}
             </>
           ) : (