fix key prop
This commit is contained in:
parent
f0c9e6800a
commit
94094d499f
@ -121,8 +121,8 @@ const Navigation = (props:any) => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{links.map((e, i) => (
|
{links.map((e, i) => (
|
||||||
<ListItem disablePadding sx={{ display: 'block' }}>
|
<ListItem key={i} disablePadding sx={{ display: 'block' }}>
|
||||||
<Link key={i} to={e.path} style={{textDecoration: 'none'}}>
|
<Link to={e.path} style={{textDecoration: 'none'}}>
|
||||||
<ListItemButton onClick={props.SladeMobileHC}
|
<ListItemButton onClick={props.SladeMobileHC}
|
||||||
sx={{
|
sx={{
|
||||||
minHeight: 48,
|
minHeight: 48,
|
||||||
|
Loading…
Reference in New Issue
Block a user