-
Docs
-
+
-
Blog
-
+
-
Users
-
+
diff --git a/website/src/components/Search.tsx b/website/src/components/Search.tsx
index e38bb0f58..22306ac96 100644
--- a/website/src/components/Search.tsx
+++ b/website/src/components/Search.tsx
@@ -6,6 +6,9 @@ import Head from 'next/head';
import { useDocSearchKeyboardEvents } from '@docsearch/react';
import { siteConfig } from 'siteConfig';
+// Wrapper to handle React 19 type compatibility
+const NextLink = Link as any;
+
export interface SearchProps {
appId?: string;
apiKey?: string;
@@ -15,7 +18,7 @@ export interface SearchProps {
}
function Hit({ hit, children }: any) {
- return {children};
+ return {children};
}
const options = {
diff --git a/website/src/components/Seo.tsx b/website/src/components/Seo.tsx
index 981649ce0..ca0f207ce 100644
--- a/website/src/components/Seo.tsx
+++ b/website/src/components/Seo.tsx
@@ -2,6 +2,9 @@ import React from 'react';
import Head from 'next/head';
import { useRouter } from 'next/router';
+// Wrapper to handle React 19 type compatibility
+const NextHead = Head as any;
+
export interface SeoProps {
title: string;
description?: string;
@@ -18,7 +21,7 @@ export const Seo: React.FC = ({
}: SeoProps) => {
const router = useRouter();
return (
-
+
{/* DEFAULT */}
{title != undefined && {title}}
@@ -80,6 +83,6 @@ export const Seo: React.FC = ({
)}
{children}
-
+
);
};
diff --git a/website/src/components/SidebarNavLink.tsx b/website/src/components/SidebarNavLink.tsx
index 98f9f20e9..6fee106b0 100644
--- a/website/src/components/SidebarNavLink.tsx
+++ b/website/src/components/SidebarNavLink.tsx
@@ -3,6 +3,9 @@ import Link from 'next/link';
import { useRouter } from 'next/router';
import cn from 'classnames';
+// Wrapper to handle React 19 type compatibility
+const NextLink = Link as any;
+
export interface SidebarNavLinkProps {
route: any;
level: number;
@@ -27,7 +30,7 @@ export function SidebarNavLink({
{title}
) : (
- {title}
+ {title}
)
}