diff --git a/src/theme/NotFound/Content/index.js b/src/theme/NotFound/Content/index.js new file mode 100644 index 00000000..55c97187 --- /dev/null +++ b/src/theme/NotFound/Content/index.js @@ -0,0 +1,9 @@ +import { useEffect } from 'react'; + +export default function NotFoundContent() { + useEffect(() => { + window.location.replace('/docs/'); + }, []); + + return null; +}