mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-22 20:47:53 +02:00
chore: fix changelog plugin import path (#7901)
This commit is contained in:
parent
01ac2e0fca
commit
8e5225addb
2 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
import React, {useState} from 'react';
|
import React, {useState} from 'react';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import {useBlogPost} from '@docusaurus/theme-common/internal';
|
import {useBlogPost} from '@docusaurus/theme-common/internal';
|
||||||
import BlogPostItemHeaderAuthor from '@theme/BlogPostItem/Header/Author';
|
import ChangelogItemHeaderAuthor from '@theme/ChangelogItem/Header/Author';
|
||||||
import IconExpand from '@theme/Icon/Expand';
|
import IconExpand from '@theme/Icon/Expand';
|
||||||
import type {Props} from '@theme/BlogPostItem/Header/Authors';
|
import type {Props} from '@theme/BlogPostItem/Header/Authors';
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ export default function BlogPostAuthors({
|
||||||
)}>
|
)}>
|
||||||
{filteredAuthors.map((author, idx) => (
|
{filteredAuthors.map((author, idx) => (
|
||||||
<div className={styles.imageOnlyAuthorCol} key={idx}>
|
<div className={styles.imageOnlyAuthorCol} key={idx}>
|
||||||
<BlogPostItemHeaderAuthor
|
<ChangelogItemHeaderAuthor
|
||||||
author={{
|
author={{
|
||||||
...author,
|
...author,
|
||||||
// Handle author images using relative paths
|
// Handle author images using relative paths
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {useBlogPost} from '@docusaurus/theme-common/internal';
|
||||||
|
|
||||||
import BlogPostItemHeaderTitle from '@theme/BlogPostItem/Header/Title';
|
import BlogPostItemHeaderTitle from '@theme/BlogPostItem/Header/Title';
|
||||||
import BlogPostItemHeaderInfo from '@theme/BlogPostItem/Header/Info';
|
import BlogPostItemHeaderInfo from '@theme/BlogPostItem/Header/Info';
|
||||||
import BlogPostItemHeaderAuthors from '@theme/BlogPostItem/Header/Authors';
|
import ChangelogItemHeaderAuthors from '@theme/ChangelogItem/Header/Authors';
|
||||||
|
|
||||||
import styles from './styles.module.css';
|
import styles from './styles.module.css';
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ export default function ChangelogItemHeader(): JSX.Element {
|
||||||
<header>
|
<header>
|
||||||
<ChangelogTitle />
|
<ChangelogTitle />
|
||||||
<BlogPostItemHeaderInfo />
|
<BlogPostItemHeaderInfo />
|
||||||
<BlogPostItemHeaderAuthors />
|
<ChangelogItemHeaderAuthors />
|
||||||
</header>
|
</header>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue