Bug 1872686 - Disable label-has-associated-control rule for unused Themes component r=omc-reviewers,aminomancer

Differential Revision: https://phabricator.services.mozilla.com/D197548
This commit is contained in:
Emily McMinn
2024-01-03 15:18:37 +00:00
parent 3239bf31e1
commit 5ab2c8b61d

View File

@@ -19,6 +19,7 @@ export const Themes = props => {
key={theme + label}
text={typeof tooltip === "object" ? tooltip : {}}
>
{/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}
<label className="theme" title={theme + label}>
<Localized
text={typeof description === "object" ? description : {}}