Skip to content

Commit

Permalink
docs(cn): keep the sidebar the same as the title (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yucohny authored Jul 7, 2023
1 parent 2a091ad commit 4a143c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/sidebarLearn.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"path": "/learn/installation",
"routes": [
{
"title": "开始一个新的项目",
"title": "启动一个新的 React 项目",
"path": "/learn/start-a-new-react-project"
},
{
Expand Down Expand Up @@ -56,11 +56,11 @@
"path": "/learn/your-first-component"
},
{
"title": "导入和导出组件",
"title": "组件的导入与导出",
"path": "/learn/importing-and-exporting-components"
},
{
"title": "使用 JSX 标签",
"title": "使用 JSX 书写标签语言",
"path": "/learn/writing-markup-with-jsx"
},
{
Expand Down Expand Up @@ -156,7 +156,7 @@
]
},
{
"title": "逃脱方案",
"title": "应急方案",
"path": "/learn/escape-hatches",
"tags": ["advanced"],
"routes": [
Expand All @@ -177,19 +177,19 @@
"path": "/learn/you-might-not-need-an-effect"
},
{
"title": "Lifecycle of Reactive Effects",
"title": "响应式 Effect 的生命周期",
"path": "/learn/lifecycle-of-reactive-effects"
},
{
"title": "将事件从 Effect 中分开",
"path": "/learn/separating-events-from-effects"
},
{
"title": "Removing Effect Dependencies",
"title": "移除 Effect 依赖",
"path": "/learn/removing-effect-dependencies"
},
{
"title": "Reusing Logic with Custom Hooks",
"title": "使用自定义 Hook 复用逻辑",
"path": "/learn/reusing-logic-with-custom-hooks"
}
]
Expand Down

0 comments on commit 4a143c9

Please sign in to comment.