diff options
Diffstat (limited to 'source/github-helpers/create-dropdown-item.tsx')
| -rw-r--r-- | source/github-helpers/create-dropdown-item.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/github-helpers/create-dropdown-item.tsx b/source/github-helpers/create-dropdown-item.tsx index 1341607a..3b18de94 100644 --- a/source/github-helpers/create-dropdown-item.tsx +++ b/source/github-helpers/create-dropdown-item.tsx @@ -3,7 +3,7 @@ import React from 'dom-chef'; export default function createDropdownItem(label: string, url: string, attributes?: Record<string, string>): Element { return ( <li {...attributes}> - <a role="menuitem" className="dropdown-item" href={url}> + <a role="menuitem" className="dropdown-item" data-rgh-label={label} href={url}> {label} </a> </li> |
