mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
fix: 🏷️ Replace ts-expect-error with ts-ignore
Build environments are inconsistent and sometimes throw an error with ts-expect-error
This commit is contained in:
parent
5f16ab30fd
commit
e13deb968c
|
|
@ -164,7 +164,7 @@ function LoadingIcon(props: ComponentPropsWithoutRef<"svg">) {
|
|||
|
||||
function HighlightQuery({ text, query }: { text: string; query: string }) {
|
||||
return (
|
||||
// @ts-expect-error types not properly updated to react 19
|
||||
// @ts-ignore
|
||||
<Highlighter
|
||||
highlightClassName="underline bg-transparent text-brand-500"
|
||||
searchWords={[query]}
|
||||
|
|
|
|||
Loading…
Reference in a new issue