Skip to content

Commit

Permalink
Use boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Aug 15, 2021
1 parent b340c32 commit 53dfc9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/src/admin/components/UserListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export default class UserListPage extends AdminPage {

return (
<div class="UserList-email" key={user.id()} data-email-shown="false">
<span class="UserList-emailAddress" aria-hidden="true" onclick={() => setEmailVisibility(true)}>
<span class="UserList-emailAddress" aria-hidden={true} onclick={() => setEmailVisibility(true)}>
{user.email()}
</span>
<button
Expand Down
2 changes: 1 addition & 1 deletion js/src/common/components/LoadingIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class LoadingIndicator extends Component<LoadingIndicatorAttrs> {
data-size={size}
className={completeContainerClassName}
>
<div aria-hidden="true" className={completeClassName} {...attrs} />
<div aria-hidden={true} className={completeClassName} {...attrs} />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion js/src/common/helpers/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import * as Mithril from 'mithril';
export default function icon(fontClass: string, attrs: Mithril.Attributes = {}): Mithril.Vnode {
attrs.className = 'icon ' + fontClass + ' ' + (attrs.className || '');

return <i aria-hidden="true" {...attrs} />;
return <i aria-hidden={true} {...attrs} />;
}

0 comments on commit 53dfc9f

Please sign in to comment.