1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

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

This commit is contained in:
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

View File

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