Skip to content

Commit

Permalink
Fix: React HotgridPopup error for conditional id attribute (fixes #154
Browse files Browse the repository at this point in the history
). (#155)
  • Loading branch information
danielghost authored Nov 22, 2024
1 parent c81a006 commit b216f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/hotgridPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function HotgridPopup(props) {

{title &&
<div
id={_isActive && 'notify-heading'}
id={_isActive ? 'notify-heading' : null}
className="hotgrid-popup__item-title"
role="heading"
aria-level={a11y.ariaLevel({ level: 'notify' })}
Expand Down

0 comments on commit b216f55

Please sign in to comment.