more reordering imports

This commit is contained in:
rcarteraz 2024-08-14 13:01:02 -07:00
parent bba75f125b
commit 36d0029a91
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
import React from "react";
import { PageMetadata } from "@docusaurus/theme-common"; import { PageMetadata } from "@docusaurus/theme-common";
import { useBlogPost } from "@docusaurus/theme-common/internal"; import { useBlogPost } from "@docusaurus/theme-common/internal";
/* trunk-ignore(biome/lint/style/noDefaultExport) */ import React from "react";
export default function BlogPostPageMetadata() { export default function BlogPostPageMetadata() {
const { assets, metadata } = useBlogPost(); const { assets, metadata } = useBlogPost();
const { title, description, date, tags, authors, frontMatter } = metadata; const { title, description, date, tags, authors, frontMatter } = metadata;

View file

@ -1,5 +1,3 @@
import React from "react";
import clsx from "clsx";
import { import {
HtmlClassNameProvider, HtmlClassNameProvider,
ThemeClassNames, ThemeClassNames,
@ -8,13 +6,15 @@ import {
BlogPostProvider, BlogPostProvider,
useBlogPost, useBlogPost,
} from "@docusaurus/theme-common/internal"; } from "@docusaurus/theme-common/internal";
import GiscusComponent from "@site/src/components/GiscusComponent";
import BlogLayout from "@theme/BlogLayout"; import BlogLayout from "@theme/BlogLayout";
import BlogPostItem from "@theme/BlogPostItem"; import BlogPostItem from "@theme/BlogPostItem";
import BlogPostPaginator from "@theme/BlogPostPaginator"; import BlogPostPaginator from "@theme/BlogPostPaginator";
import BlogPostPageMetadata from "@theme/BlogPostPage/Metadata"; import BlogPostPageMetadata from "@theme/BlogPostPage/Metadata";
import TOC from "@theme/TOC"; import TOC from "@theme/TOC";
import Unlisted from "@theme/Unlisted"; import Unlisted from "@theme/Unlisted";
import GiscusComponent from "@site/src/components/GiscusComponent"; import React from "react";
import clsx from "clsx";
function BlogPostPageContent({ sidebar, children }) { function BlogPostPageContent({ sidebar, children }) {
const { metadata, toc } = useBlogPost(); const { metadata, toc } = useBlogPost();
const { nextItem, prevItem, frontMatter, unlisted } = metadata; const { nextItem, prevItem, frontMatter, unlisted } = metadata;