mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-25 21:54:20 -08:00
more reordering imports
This commit is contained in:
parent
bba75f125b
commit
36d0029a91
|
@ -1,7 +1,7 @@
|
|||
import React from "react";
|
||||
import { PageMetadata } from "@docusaurus/theme-common";
|
||||
import { useBlogPost } from "@docusaurus/theme-common/internal";
|
||||
/* trunk-ignore(biome/lint/style/noDefaultExport) */
|
||||
import React from "react";
|
||||
|
||||
export default function BlogPostPageMetadata() {
|
||||
const { assets, metadata } = useBlogPost();
|
||||
const { title, description, date, tags, authors, frontMatter } = metadata;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import React from "react";
|
||||
import clsx from "clsx";
|
||||
import {
|
||||
HtmlClassNameProvider,
|
||||
ThemeClassNames,
|
||||
|
@ -8,13 +6,15 @@ import {
|
|||
BlogPostProvider,
|
||||
useBlogPost,
|
||||
} from "@docusaurus/theme-common/internal";
|
||||
import GiscusComponent from "@site/src/components/GiscusComponent";
|
||||
import BlogLayout from "@theme/BlogLayout";
|
||||
import BlogPostItem from "@theme/BlogPostItem";
|
||||
import BlogPostPaginator from "@theme/BlogPostPaginator";
|
||||
import BlogPostPageMetadata from "@theme/BlogPostPage/Metadata";
|
||||
import TOC from "@theme/TOC";
|
||||
import Unlisted from "@theme/Unlisted";
|
||||
import GiscusComponent from "@site/src/components/GiscusComponent";
|
||||
import React from "react";
|
||||
import clsx from "clsx";
|
||||
function BlogPostPageContent({ sidebar, children }) {
|
||||
const { metadata, toc } = useBlogPost();
|
||||
const { nextItem, prevItem, frontMatter, unlisted } = metadata;
|
||||
|
|
Loading…
Reference in a new issue