fix: 🏷️ Fix several typing issues from React 19

This commit is contained in:
Jesse Wierzbinski 2024-12-10 16:31:07 +01:00
parent 7055b89842
commit 8bb062e887
No known key found for this signature in database
3 changed files with 14 additions and 7 deletions

View file

@ -164,6 +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
<Highlighter
highlightClassName="underline bg-transparent text-brand-500"
searchWords={[query]}