File tree Expand file tree Collapse file tree
apps/portal/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ fix walletconnect not working on berachain and unallowlisted chains
Original file line number Diff line number Diff line change @@ -46,10 +46,7 @@ export function DocLayout(props: DocLayoutProps) {
4646 "hidden xl:flex" ,
4747 ) }
4848 >
49- < DocSidebar
50- { ...props . sideBar }
51- header = { props . sidebarHeader }
52- />
49+ < DocSidebar { ...props . sideBar } header = { props . sidebarHeader } />
5350 </ aside >
5451 ) }
5552 < div className = "sticky top-sticky-top-height z-stickyMobileSidebar border-b bg-card/50 backdrop-blur-xl p-4 xl:hidden -mx-4" >
Original file line number Diff line number Diff line change @@ -68,15 +68,23 @@ export function DocSidebar(props: ReferenceSideBarProps) {
6868 { props . links . map ( ( link , i ) => (
6969 // biome-ignore lint/suspicious/noArrayIndexKey: TODO - fix this
7070 < li key = { i } >
71- < SidebarItem link = { link } onLinkClick = { props . onLinkClick } isFirst = { i === 0 } />
71+ < SidebarItem
72+ link = { link }
73+ onLinkClick = { props . onLinkClick }
74+ isFirst = { i === 0 }
75+ />
7276 </ li >
7377 ) ) }
7478 </ ul >
7579 </ div >
7680 ) ;
7781}
7882
79- function SidebarItem ( props : { link : SidebarLink ; onLinkClick ?: ( ) => void , isFirst : boolean } ) {
83+ function SidebarItem ( props : {
84+ link : SidebarLink ;
85+ onLinkClick ?: ( ) => void ;
86+ isFirst : boolean ;
87+ } ) {
8088 const pathname = usePathname ( ) ;
8189
8290 if ( "separator" in props . link ) {
@@ -175,7 +183,11 @@ function DocSidebarNonCollapsible(props: {
175183 return (
176184 // biome-ignore lint/suspicious/noArrayIndexKey: TODO - fix this
177185 < li key = { i } >
178- < SidebarItem link = { link } onLinkClick = { props . onLinkClick } isFirst = { i === 0 } />
186+ < SidebarItem
187+ link = { link }
188+ onLinkClick = { props . onLinkClick }
189+ isFirst = { i === 0 }
190+ />
179191 </ li >
180192 ) ;
181193 } ) }
@@ -240,7 +252,11 @@ function DocSidebarCategory(props: {
240252 return (
241253 // biome-ignore lint/suspicious/noArrayIndexKey: TODO - fix this
242254 < li key = { i } >
243- < SidebarItem link = { link } onLinkClick = { props . onLinkClick } isFirst = { i === 0 } />
255+ < SidebarItem
256+ link = { link }
257+ onLinkClick = { props . onLinkClick }
258+ isFirst = { i === 0 }
259+ />
244260 </ li >
245261 ) ;
246262 } ) }
You can’t perform that action at this time.
0 commit comments