From b29a5063b4714e840c81f1fc4a38796244ab9b1c Mon Sep 17 00:00:00 2001 From: Pelayo Felgueroso Date: Wed, 8 Oct 2025 11:47:43 +0200 Subject: [PATCH 1/2] Removed duplicated 'title' prop on Sidenav Code Page --- .../screens/components/sidenav/code/SidenavCodePage.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx b/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx index 7b1ea00e2..17df6b0bf 100644 --- a/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx +++ b/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx @@ -40,14 +40,6 @@ const sections = [ The area inside the sidenav. - - - title - - React.ReactNode - - The area assigned to render the title. It is highly recommended to use the sidenav title. - - - ), From a927b55dd13768c637a924428a76301d195ba78d Mon Sep 17 00:00:00 2001 From: Pelayo Felgueroso Date: Wed, 8 Oct 2025 12:00:56 +0200 Subject: [PATCH 2/2] Changed prop position --- .../components/sidenav/code/SidenavCodePage.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx b/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx index 17df6b0bf..1bd4af40e 100644 --- a/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx +++ b/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx @@ -19,14 +19,6 @@ const sections = [ - - title - - React.ReactNode - - The area assigned to render the title. It is highly recommended to use the sidenav title. - - - @@ -40,6 +32,14 @@ const sections = [ The area inside the sidenav. - + + title + + React.ReactNode + + The area assigned to render the title. It is highly recommended to use the sidenav title. + - + ),