Skip to content

Commit

Permalink
Fix: libs/remix-ui/search/src/lib/components/results/ResultSummary.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dxsullivan authored and Aniket-Engg committed Jan 16, 2025
1 parent 6de3e3d commit c6a5af3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ interface ResultSummaryProps {

export const ResultSummary = (props: ResultSummaryProps) => {
const intl = useIntl()
const { hightLightInPath, replaceText, state } = useContext(SearchContext)
const { highlightInPath, replaceText, state } = useContext(SearchContext)
const { modal } = useDialogDispatchers()
const selectLine = async (line: SearchResultLineLine) => {
await hightLightInPath(props.searchResult, line)
await highlightInPath(props.searchResult, line)
}

const confirmReplace = async (line: SearchResultLineLine) => {
Expand Down

0 comments on commit c6a5af3

Please sign in to comment.