File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,9 @@ export function FullLayout(props: LayoutProps) {
137137 onClick = { ( ) => setIsCollapsed ( ! isCollapsed ) }
138138 className = 'text-2xl hover:scale-110 transition-transform cursor-pointer'
139139 aria-label = { t `Expand sidebar - ${ wallet . name } ` }
140- aria-expanded = { ! isCollapsed }
140+ { ...( isCollapsed
141+ ? { 'aria-expanded' : false }
142+ : { 'aria-expanded' : true } ) }
141143 >
142144 < span role = 'img' aria-label = { t `Wallet emoji` } >
143145 { wallet . emoji }
@@ -160,7 +162,9 @@ export function FullLayout(props: LayoutProps) {
160162 aria-label = {
161163 isCollapsed ? t `Expand sidebar` : t `Collapse sidebar`
162164 }
163- aria-expanded = { ! isCollapsed }
165+ { ...( isCollapsed
166+ ? { 'aria-expanded' : false }
167+ : { 'aria-expanded' : true } ) }
164168 >
165169 { isCollapsed ? (
166170 < PanelLeft className = 'h-5 w-5' aria-hidden = 'true' />
You can’t perform that action at this time.
0 commit comments