Chore: Fixes #9284: Desktop: Fix warning on opening settings screen (#9287)

pull/9289/head
Henry Heino 2023-11-12 07:01:14 -08:00 committed by GitHub
parent ba83fca47a
commit 10356f4009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ export default function Sidebar(props: Props) {
<StyledListItem
key={section.name}
href='#'
aria-role='tab'
role='tab'
aria-selected={selected}
isSubSection={Setting.isSubSection(section.name)}
selected={selected}
@ -131,7 +131,7 @@ export default function Sidebar(props: Props) {
}
return (
<StyledRoot aria-role='tablist'>
<StyledRoot role='tablist'>
{buttons}
</StyledRoot>
);