about summary refs log tree commit diff
path: root/src/view/com/search/SearchResults.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/search/SearchResults.tsx')
-rw-r--r--src/view/com/search/SearchResults.tsx10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/view/com/search/SearchResults.tsx b/src/view/com/search/SearchResults.tsx
index 3b05f75ea..ca6a0dba2 100644
--- a/src/view/com/search/SearchResults.tsx
+++ b/src/view/com/search/SearchResults.tsx
@@ -99,15 +99,7 @@ const Profiles = observer(({model}: {model: SearchUIModel}) => {
   return (
     <ScrollView style={pal.view}>
       {model.profiles.map(item => (
-        <ProfileCardWithFollowBtn
-          key={item.did}
-          did={item.did}
-          handle={item.handle}
-          displayName={item.displayName}
-          avatar={item.avatar}
-          description={item.description}
-          labels={item.labels}
-        />
+        <ProfileCardWithFollowBtn key={item.did} profile={item} />
       ))}
       <View style={s.footerSpacer} />
       <View style={s.footerSpacer} />