1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-09-12 16:55:01 +00:00

fix(a11y): aria-controls and role fixes

This commit is contained in:
Jacky Zhao
2025-08-03 22:44:35 -07:00
parent 91059843ae
commit 53d6e18e81
3 changed files with 14 additions and 6 deletions

View File

@@ -12,9 +12,9 @@ const OverflowList = ({
)
}
let numExplorers = 0
let numLists = 0
export default () => {
const id = `list-${numExplorers++}`
const id = `list-${numLists++}`
return {
OverflowList: (props: JSX.HTMLAttributes<HTMLUListElement>) => (