1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +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, title ? <span>{title}</span> : children || null,
iconRight && <Icon icon={iconRight} size={20} key={2} className={styles.icon_right} />, iconRight && <Icon icon={iconRight} size={20} key={2} className={styles.icon_right} />,
!!label && ( !!label && (
<span <span ref={tooltip} className={styles.tooltip} style={pop.styles.popper} key="tooltip">
ref={tooltip}
className={styles.tooltip}
style={pop.styles.popper}
{...pop.attributes.popper}
>
{label} {label}
</span> </span>
), ),