Fixed issue in FooterBar by adding missing key

• Fixed:
- issue in FooterBar by adding missing key
This commit is contained in:
mgabdev 2020-11-04 21:02:40 -06:00
parent 55ab08cc54
commit 47415f4602
1 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class FooterBar extends ImmutablePureComponent {
<div className={[_s.d, _s.posFixed, _s.left0, _s.right0, _s.bottom0, _s.minH58PX, _s.w100PC, _s.bgPrimary, _s.borderTop1PX, _s.borderColorSecondary].join(' ')}> <div className={[_s.d, _s.posFixed, _s.left0, _s.right0, _s.bottom0, _s.minH58PX, _s.w100PC, _s.bgPrimary, _s.borderTop1PX, _s.borderColorSecondary].join(' ')}>
<div className={[_s.d, _s.flexRow, _s.aiCenter, _s.h100PC, _s.minH58PX, _s.saveAreaInsetPB, _s.jcSpaceAround].join(' ')}> <div className={[_s.d, _s.flexRow, _s.aiCenter, _s.h100PC, _s.minH58PX, _s.saveAreaInsetPB, _s.jcSpaceAround].join(' ')}>
{ {
buttons.map((props) => { buttons.map((props, i) => {
if (props.isHidden) return null if (props.isHidden) return null
const classes = CX({ const classes = CX({
@ -134,6 +134,7 @@ class FooterBar extends ImmutablePureComponent {
href={props.href} href={props.href}
title={props.title} title={props.title}
className={classes} className={classes}
key={`footer-bar-item-${i}`}
> >
{childIcon} {childIcon}
</Button> </Button>