File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/components/index-page/use-cases Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,10 @@ export function UseCases({
132
132
role = "none" // we already have one copy of this tab
133
133
onPointerDown = { ( ) => setSelectedIndex ( i ) }
134
134
onFocus = { ( ) => setSelectedIndex ( i ) }
135
- aria-selected = { i === selectedIndex ? "true" : undefined }
136
- className = "z-[1] flex w-full items-center justify-between gap-6 border-b border-sec-dark px-3 py-4 text-left first:border-t hover:bg-sec-light aria-selected:bg-sec-light dark:bg-sec-darker dark:hover:bg-neu-100/25 dark:aria-selected:bg-sec-darker max-lg:dark:bg-neu-50 lg:hidden"
135
+ className = { clsx (
136
+ "z-[1] flex w-full items-center justify-between gap-6 border-b border-sec-dark px-3 py-4 text-left first:border-t hover:bg-sec-light dark:bg-sec-darker dark:hover:bg-neu-100/25 max-lg:dark:bg-neu-50 lg:hidden" ,
137
+ i === selectedIndex && "bg-sec-light dark:bg-sec-darker" ,
138
+ ) }
137
139
>
138
140
< span className = "typography-body-lg text-neu-900" >
139
141
{ useCase . label }
You can’t perform that action at this time.
0 commit comments