Run eslint src --fix

This commit is contained in:
Eric NGUYEN 2023-02-10 16:29:10 +01:00
parent c6c4bd1e32
commit 25cb0d14f7
82 changed files with 363 additions and 342 deletions

View file

@ -13,7 +13,7 @@ export function MenuItem(props: IMenuItemProps): JSX.Element {
<button type="button"
className={`flex place-content-between ${props.className ?? ''}`}
title={props.title}
onClick={() => props.onClick()}>
onClick={() => { props.onClick(); }}>
{props.text}
<span dangerouslySetInnerHTML={{ __html: props.shortcut ?? '' }} />
</button>