mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-26 14:09:50 -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 { 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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue