File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ export function DocsLayout({
5454
5555 const docsLayout : DocsLayoutProps = {
5656 ...baseOptions ,
57- links : [ ] ,
5857 tree,
5958 sidebar : {
6059 banner : (
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ export function DocsLayout({
2727 const sidebarTree = getLearnSidebarTree ( tree , pathname ) ;
2828 const docsLayout : DocsLayoutProps = {
2929 ...baseOptions ,
30- links : [ ] ,
3130 tree : sidebarTree ,
3231 sidebar : {
3332 tabs,
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ export const useBaseOptions = () => {
2020 {
2121 icon : < Book /> ,
2222 text : t ( 'doc' ) ,
23- url : '/docs/' ,
23+ url : '/docs' ,
24+ active : 'nested-url' ,
2425 } ,
2526
2627 {
@@ -33,7 +34,7 @@ export const useBaseOptions = () => {
3334 {
3435 icon : < NotebookIcon /> ,
3536 text : t ( 'learn' ) ,
36- url : '/learn/ ' ,
37+ url : '/learn' ,
3738 active : 'nested-url' ,
3839 } ,
3940 ] ,
You can’t perform that action at this time.
0 commit comments