This repository was archived by the owner on May 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ import { tryTransformPermalinkToLocalHref } from "./utils/permalinks/Permalinks"
3737import { SHORTCODE_TO_EMOJI , getEmojiFromUnicode } from "./emoji" ;
3838import ReplyThread from "./components/views/elements/ReplyThread" ;
3939import { mediaFromMxc } from "./customisations/Media" ;
40- import { highlight } from 'highlight.js' ;
4140
4241linkifyMatrix ( linkify ) ;
4342
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ limitations under the License.
1616*/
1717
1818import React from 'react' ;
19+ import { SearchResult } from "matrix-js-sdk/src/models/search-result" ;
1920import EventTile , { haveTileForEvent } from "./EventTile" ;
2021import DateSeparator from '../messages/DateSeparator' ;
2122import SettingsStore from "../../../settings/SettingsStore" ;
@@ -25,7 +26,7 @@ import { replaceableComponent } from "../../../utils/replaceableComponent";
2526
2627interface IProps {
2728 // a matrix-js-sdk SearchResult containing the details of this result
28- searchResult : any ;
29+ searchResult : SearchResult ;
2930 // a list of strings to be highlighted in the results
3031 searchHighlights ?: string [ ] ;
3132 // href for the highlights in this result
You can’t perform that action at this time.
0 commit comments