1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

fixed key warnings

This commit is contained in:
Fedor Katurov 2021-02-26 15:53:43 +07:00
parent b23c136cbe
commit 2d034f2fbb

View file

@ -83,12 +83,7 @@ const Button: FC<IButtonProps> = memo(
title ? <span>{title}</span> : children || null,
iconRight && <Icon icon={iconRight} size={20} key={2} className={styles.icon_right} />,
!!label && (
<span
ref={tooltip}
className={styles.tooltip}
style={pop.styles.popper}
{...pop.attributes.popper}
>
<span ref={tooltip} className={styles.tooltip} style={pop.styles.popper} key="tooltip">
{label}
</span>
),