summaryrefslogtreecommitdiff
path: root/source/github-helpers/create-dropdown-item.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-02-01 13:25:06 +0800
committerGravatar GitHub <noreply@github.com> 2023-02-01 13:25:06 +0800
commit97efeef70fd850b2d72251e4391f0e28b933ba4e (patch)
treeca29b7a558d3f32876a20e01ecf201b34c06336c /source/github-helpers/create-dropdown-item.tsx
parent0723a88ce0354a8b6255d171e44f9d46023535ab (diff)
downloadrefined-github-97efeef70fd850b2d72251e4391f0e28b933ba4e.tar.gz
refined-github-97efeef70fd850b2d72251e4391f0e28b933ba4e.tar.zst
refined-github-97efeef70fd850b2d72251e4391f0e28b933ba4e.zip
Avoid misplacement of `profile-gists-link` (#6251)
Diffstat (limited to 'source/github-helpers/create-dropdown-item.tsx')
-rw-r--r--source/github-helpers/create-dropdown-item.tsx2
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>