fix: 🏷️ Replace ts-expect-error with ts-ignore
Some checks failed
Check Types / tests (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 5s
Lint & Format / tests (push) Failing after 4s
Mirror to Codeberg / Mirror (push) Failing after 0s

Build environments are inconsistent and sometimes throw an error with ts-expect-error
This commit is contained in:
Jesse Wierzbinski 2025-02-16 17:50:23 +01:00
parent 5f16ab30fd
commit e13deb968c
No known key found for this signature in database

View file

@ -164,7 +164,7 @@ function LoadingIcon(props: ComponentPropsWithoutRef<"svg">) {
function HighlightQuery({ text, query }: { text: string; query: string }) { function HighlightQuery({ text, query }: { text: string; query: string }) {
return ( return (
// @ts-expect-error types not properly updated to react 19 // @ts-ignore
<Highlighter <Highlighter
highlightClassName="underline bg-transparent text-brand-500" highlightClassName="underline bg-transparent text-brand-500"
searchWords={[query]} searchWords={[query]}