Skip to content

Commit 9bfbcf7

Browse files
committed
chore: fix lint
1 parent b9ce4c5 commit 9bfbcf7

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/theme/DocCard/index.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
import React from 'react';
2-
import clsx from 'clsx';
1+
import isInternalUrl from '@docusaurus/isInternalUrl';
32
import Link from '@docusaurus/Link';
43
import { useDocById, findFirstSidebarItemLink } from '@docusaurus/plugin-content-docs/client';
54
import { usePluralForm } from '@docusaurus/theme-common';
6-
import isInternalUrl from '@docusaurus/isInternalUrl';
75
import { translate } from '@docusaurus/Translate';
86
import Heading from '@theme/Heading';
7+
import clsx from 'clsx';
8+
import React from 'react';
9+
910
import styles from './styles.module.css';
1011

1112
function useCategoryItemsPlural() {
1213
const { selectMessage } = usePluralForm();
13-
return (count) =>
14-
selectMessage(
15-
count,
16-
translate(
17-
{
18-
message: '1 item|{count} items',
19-
id: 'theme.docs.DocCard.categoryDescription.plurals',
20-
description:
14+
return (count) => selectMessage(
15+
count,
16+
translate(
17+
{
18+
message: '1 item|{count} items',
19+
id: 'theme.docs.DocCard.categoryDescription.plurals',
20+
description:
2121
'The default description for a category card in the generated index about how many items this category includes',
22-
},
23-
{ count },
24-
),
25-
);
22+
},
23+
{ count },
24+
),
25+
);
2626
}
2727

2828
function CardContainer({ href, children }) {

0 commit comments

Comments
 (0)