Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
OzakIOne committed Aug 21, 2024
1 parent 15f5a20 commit 264aeb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import {
useBlogAuthorPageTitle,
BlogAuthorsListViewAllLabel,
BlogAuthorNoPostLabel,
BlogAuthorNoPostsLabel,
} from '@docusaurus/theme-common/internal';
import Link from '@docusaurus/Link';
import {useBlogMetadata} from '@docusaurus/plugin-content-blog/client';
Expand Down Expand Up @@ -55,7 +55,7 @@ function Content({author, items, sidebar, listMetadata}: Props): JSX.Element {
</header>
{items.length === 0 ? (
<p>
<BlogAuthorNoPostLabel />
<BlogAuthorNoPostsLabel />
</p>
) : (
<>
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-common/src/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ export {
useBlogAuthorPageTitle,
translateBlogAuthorsListPageTitle,
BlogAuthorsListViewAllLabel,
BlogAuthorNoPostLabel,
BlogAuthorNoPostsLabel,
} from './translations/blogTranslations';
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function BlogAuthorsListViewAllLabel(): ReactNode {
);
}

export function BlogAuthorNoPostLabel(): ReactNode {
export function BlogAuthorNoPostsLabel(): ReactNode {
return (
<Translate
id="theme.blog.author.noPosts"
Expand Down

0 comments on commit 264aeb9

Please sign in to comment.