mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-22 13:59:28 +00:00
Add key prop to shortcut listgroup
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
52fb372b9b
commit
34ceef9d98
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export const Shortcut: React.FC = () => {
|
|||
<ListGroup variant="flush">
|
||||
{Object.entries(shortcutMap[category]).map(([functionName, shortcut]) => {
|
||||
return (
|
||||
<ListGroup.Item className={'d-flex justify-content-between'}>
|
||||
<ListGroup.Item key={functionName} className={'d-flex justify-content-between'}>
|
||||
<span><Trans i18nKey={functionName}/></span>
|
||||
<span>{shortcut}</span>
|
||||
</ListGroup.Item>
|
||||
|
|
Loading…
Add table
Reference in a new issue