mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-07 11:16:43 +00:00
📝 Docs: 商店插件可用性筛选 & 更新排序 (#3334)
This commit is contained in:
@@ -18,7 +18,7 @@ type Props = {
|
||||
children: React.ReactNode;
|
||||
};
|
||||
|
||||
function StorePage({ title, children }: Props): JSX.Element {
|
||||
function StorePage({ title, children }: Props): React.ReactNode {
|
||||
const sidebarItems = useVersionedSidebar(
|
||||
useDocsVersionCandidates()[0].name,
|
||||
SIDEBAR_ID
|
||||
@@ -35,7 +35,10 @@ function StorePage({ title, children }: Props): JSX.Element {
|
||||
);
|
||||
}
|
||||
|
||||
export default function StoreLayout({ title, ...props }: Props): JSX.Element {
|
||||
export default function StoreLayout({
|
||||
title,
|
||||
...props
|
||||
}: Props): React.ReactNode {
|
||||
return (
|
||||
<>
|
||||
<PageMetadata title={title} />
|
||||
|
Reference in New Issue
Block a user