Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Mar 6, 2025
1 parent 1228845 commit ed760b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/theme/NotFound/Content/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React from 'react';
import clsx from 'clsx';
import Translate from '@docusaurus/Translate';
import Heading from '@theme/Heading';
export default function NotFoundContent({className}) {
export default function NotFoundContent({ className }) {
return (
<main className={clsx('container margin-vert--xl', className)}>
<main className={ clsx('container margin-vert--xl', className) }>
<div className="row">
<div className="col col--6 col--offset-3">
<Heading as="h1" className="hero__title">
Expand Down
8 changes: 4 additions & 4 deletions src/theme/NotFound/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React from 'react';
import {translate} from '@docusaurus/Translate';
import {PageMetadata} from '@docusaurus/theme-common';
import { translate } from '@docusaurus/Translate';
import { PageMetadata } from '@docusaurus/theme-common';
import Layout from '@theme/Layout';
import NotFoundContent from '@theme/NotFound/Content';
export default function Index() {
const title = translate({
id: 'theme.NotFound.title',
message: 'Page Not Found',
});
} );
return (
<>
<PageMetadata title={title} />
<PageMetadata title={ title } />
<Layout>
<NotFoundContent />
</Layout>
Expand Down

0 comments on commit ed760b1

Please sign in to comment.