aboutsummaryrefslogtreecommitdiff
path: root/src/components/search/SearchResults.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/search/SearchResults.tsx')
-rw-r--r--src/components/search/SearchResults.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/search/SearchResults.tsx b/src/components/search/SearchResults.tsx
index 16bff818..57db4167 100644
--- a/src/components/search/SearchResults.tsx
+++ b/src/components/search/SearchResults.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import {ProfilePreviewType} from '../../types';
-import SearchResult from './SearchResult';
+import ProfilePreview from '../profile/ProfilePreview';
import {StyleSheet, View} from 'react-native';
interface SearchResultsProps {
results: Array<ProfilePreviewType>;
@@ -9,10 +9,11 @@ const SearchResults: React.FC<SearchResultsProps> = ({results}) => {
return (
<View>
{results.map((profilePreview) => (
- <SearchResult
+ <ProfilePreview
style={styles.result}
key={profilePreview.id}
{...{profilePreview}}
+ isComment={false}
/>
))}
</View>