{props.icon && {props.icon}}
@@ -77,15 +77,17 @@ export function ToolSearchResultListItem(props: ToolSearchResultListItemProps) {
className={classes.itemText}
primaryTypographyProps={{ variant: 'h6' }}
primary={
- props.highlight?.fields.title ? (
-
- ) : (
- result.title
- )
+
+ {props.highlight?.fields.title ? (
+
+ ) : (
+ result.title
+ )}
+
}
secondary={
props.highlight?.fields.text ? (
@@ -108,6 +110,6 @@ export function ToolSearchResultListItem(props: ToolSearchResultListItemProps) {