Skip to content

Commit e44d68b

Browse files
committed
fix: home page
1 parent 5f51fe0 commit e44d68b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const config: Config = {
5454
type: "docSidebar",
5555
sidebarId: "apiSidebar",
5656
position: "left",
57-
label: "技術文件",
57+
label: "API",
5858
},
5959
// {
6060
// type: "localeDropdown",

src/pages/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import clsx from 'clsx';
2-
import Link from '@docusaurus/Link';
32
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
43
import Layout from '@theme/Layout';
54
import Heading from '@theme/Heading';
@@ -22,7 +21,6 @@ function HomepageHeader() {
2221
}
2322

2423
export default function Home(): JSX.Element {
25-
const {siteConfig} = useDocusaurusContext();
2624
return (
2725
<Layout
2826
title={`ExpTech Studio`}

0 commit comments

Comments
 (0)