diff --git a/src/theme/NotFound.js b/src/theme/NotFound.js index c0271abbfa..9c93108b76 100644 --- a/src/theme/NotFound.js +++ b/src/theme/NotFound.js @@ -9,56 +9,8 @@ import React from 'react'; import Translate, {translate} from '@docusaurus/Translate'; import {PageMetadata} from '@docusaurus/theme-common'; import Layout from '@theme/Layout'; +import {Redirect} from '@docusaurus/router'; -export default function NotFound(): JSX.Element { - return ( - <> - - - - - - - - 404 - Page Not Found - - - - - Whoops! We can't find what you're looking for. - - - - - - - - - Back to home - - - Let us know - - - - - - - - - - - > - ); -} +export default function NotFound() { + return ; +};
- - Whoops! We can't find what you're looking for. - -
- - -
- - Back to home - - - Let us know - -