fix: resolve all linting and type errors

- Remove unused applyHighlightsToText import from ContentPanel
- Replace while(true) with proper condition in findHighlightMatches
- Remove unused match parameter from replaceTextWithMark function

All ESLint and TypeScript checks now pass with no errors.
This commit is contained in:
Gigi
2025-10-04 22:13:31 +01:00
parent aa8d3c285d
commit e98dc1c5da
2 changed files with 6 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import remarkGfm from 'remark-gfm'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faSpinner, faHighlighter } from '@fortawesome/free-solid-svg-icons'
import { Highlight } from '../types/highlights'
import { applyHighlightsToText, applyHighlightsToHTML } from '../utils/highlightMatching'
import { applyHighlightsToHTML } from '../utils/highlightMatching'
interface ContentPanelProps {
loading: boolean