fix missing key

This commit is contained in:
saml33 2023-11-10 22:49:12 +11:00
parent 4bfef8f387
commit 3080de4675
1 changed files with 5 additions and 2 deletions

View File

@ -154,9 +154,12 @@ const HotKeysDrawer = ({
{t('trade:margin')}
</div>
) : null}
{Object.entries(options).map((e) => {
{Object.entries(options).map((e, i) => {
return e[1] ? (
<div className={BADGE_CLASSNAMES}>
<div
className={BADGE_CLASSNAMES}
key={e[0] + i}
>
{t(`trade:${e[0]}`)}
</div>
) : null