Skip to content

Commit 629d8d4

Browse files
committed
docs: fix docstring type
1 parent d8c9a94 commit 629d8d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/ChannelSearch/SearchResults.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export type AdditionalSearchResultsProps<
160160
SearchEmpty?: React.ComponentType;
161161
/** Custom UI component to display the search loading state */
162162
SearchLoading?: React.ComponentType;
163-
/** Custom UI component to display a search result list item, defaults to and accepts the same props as: [DefaultSearchResultItems](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelSearch/SearchResults.tsx) */
163+
/** Custom UI component to display a search result list item, defaults to and accepts the same props as: [DefaultSearchResultItem](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelSearch/SearchResults.tsx) */
164164
SearchResultItem?: React.ComponentType<SearchResultItemProps<StreamChatGenerics>>;
165165
/** Custom UI component to display the search results header */
166166
SearchResultsHeader?: React.ComponentType;
@@ -190,7 +190,6 @@ export const SearchResults = <
190190
} = props;
191191

192192
const { t } = useTranslationContext('SearchResults');
193-
// fixme: logic to control focused item shoud be moved to SearchResultsList
194193
const [focusedResult, setFocusedResult] = useState<number>();
195194

196195
const handleKeyDown = useCallback(

0 commit comments

Comments
 (0)