We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3992b66 commit 7488bbfCopy full SHA for 7488bbf
src/pages/index.tsx
@@ -1,6 +1,10 @@
1
-import { Redirect } from "@docusaurus/router";
+import { useEffect } from "react";
2
3
export default function Home(): JSX.Element {
4
// const { siteConfig } = useDocusaurusContext();
5
- return <Redirect to="/docs/introduction" />;
+ useEffect(() => {
6
+ // Redirect to external URL when the component mounts
7
+ window.location.href = "https://docs.coderabbit.ai";
8
+ }, []);
9
+ return <></>;
10
}
0 commit comments