about summary refs log tree commit diff
path: root/src/view/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/shell')
-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} />
               ))}
             </>
           ) : (