From 7dbb2f09b278b6de4179a4bbec22d0af85833413 Mon Sep 17 00:00:00 2001 From: tankilevitch Date: Wed, 20 Nov 2024 21:50:04 +0200 Subject: [PATCH] fix reference to `@docusaurus/plugin-content-blog/client` due to breaking changes in the internal package - pr - facebook/docusaurus/pull/10316 --- .../changelog/theme/ChangelogItem/Header/Authors/index.tsx | 2 +- .../src/plugins/changelog/theme/ChangelogItem/Header/index.tsx | 2 +- .../src/plugins/changelog/theme/ChangelogPage/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx b/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx index 53f0e7b7a4..248cdb7802 100644 --- a/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx +++ b/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/Authors/index.tsx @@ -7,7 +7,7 @@ import React, {useState} from 'react'; import clsx from 'clsx'; -import {useBlogPost} from '@docusaurus/theme-common/internal'; +import {useBlogPost} from '@docusaurus/plugin-content-blog/client'; import ChangelogItemHeaderAuthor from '@theme/ChangelogItem/Header/Author'; import IconExpand from '@theme/Icon/Expand'; import type {Props} from '@theme/BlogPostItem/Header/Authors'; diff --git a/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/index.tsx b/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/index.tsx index 0f51c2eb27..87568dde0a 100644 --- a/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/index.tsx +++ b/docs/framework-guides/src/plugins/changelog/theme/ChangelogItem/Header/index.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import {useBlogPost} from '@docusaurus/theme-common/internal'; +import {useBlogPost} from '@docusaurus/plugin-content-blog/client'; import BlogPostItemHeaderTitle from '@theme/BlogPostItem/Header/Title'; import BlogPostItemHeaderInfo from '@theme/BlogPostItem/Header/Info'; diff --git a/docs/framework-guides/src/plugins/changelog/theme/ChangelogPage/index.tsx b/docs/framework-guides/src/plugins/changelog/theme/ChangelogPage/index.tsx index 0eed63471d..b02d4da607 100644 --- a/docs/framework-guides/src/plugins/changelog/theme/ChangelogPage/index.tsx +++ b/docs/framework-guides/src/plugins/changelog/theme/ChangelogPage/index.tsx @@ -10,7 +10,7 @@ import clsx from 'clsx'; import Translate from '@docusaurus/Translate'; import Link from '@docusaurus/Link'; import {HtmlClassNameProvider, ThemeClassNames} from '@docusaurus/theme-common'; -import {BlogPostProvider, useBlogPost} from '@docusaurus/theme-common/internal'; +import {BlogPostProvider, useBlogPost} from '@docusaurus/plugin-content-blog/client'; import BlogPostPageMetadata from '@theme/BlogPostPage/Metadata'; import BlogLayout from '@theme/BlogLayout'; import ChangelogItem from '@theme/ChangelogItem';