Fix Badge className not being correctly set

Fixes group icons on Admin permissions page
This commit is contained in:
David Wheatley 2021-05-17 01:27:30 +01:00
parent 1785e6b8cb
commit fbe6beef28

View File

@ -25,8 +25,8 @@ export default class Badge extends Component {
const iconChild = iconName ? icon(iconName, { className: 'Badge-icon' }) : m.trust(' ');
const badgeAttrs = {
className,
...attrs,
className,
};
const badgeNode = <div {...badgeAttrs}>{iconChild}</div>;