mirror of
https://github.com/dergigi/boris.git
synced 2025-12-30 04:54:49 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user