1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-12 01:17:04 +02:00

add missing key

This commit is contained in:
sveisvei 2016-12-09 14:00:37 +01:00
parent fe97342846
commit 4c343adb34

View File

@ -84,7 +84,7 @@ export default class App extends Component {
return ( return (
<span> <span>
{result.map((entry, index) => ( {result.map((entry, index) => (
<span><Link style={{ color: '#f1f1f1', textDecoration: 'none' }} key={entry.link + index} to={entry.link}> <span key={entry.link + index}><Link style={{ color: '#f1f1f1', textDecoration: 'none' }} to={entry.link}>
{entry.name} {entry.name}
</Link> {(index + 1) < result.length ? ' / ' : null}</span> </Link> {(index + 1) < result.length ? ' / ' : null}</span>
))} ))}
@ -185,7 +185,7 @@ export default class App extends Component {
return ( return (
<div className={style.container}> <div className={style.container}>
<AppBar title="Unleash Admin" leftIcon="menu" onLeftIconClick={this.toggleDrawerActive} className={style.appBar}> <AppBar title="Unleash Admin" leftIcon="menu" onLeftIconClick={this.toggleDrawerActive} className={style.appBar}>
</AppBar> </AppBar>
<div className={style.container} style={{ top: '6.4rem' }}> <div className={style.container} style={{ top: '6.4rem' }}>
<Layout> <Layout>
@ -194,11 +194,11 @@ export default class App extends Component {
</NavDrawer> </NavDrawer>
<Panel scrollY> <Panel scrollY>
<div style={{ padding: '1.8rem' }}> <div style={{ padding: '1.8rem' }}>
{this.props.children} {this.props.children}
</div> </div>
</Panel> </Panel>
</Layout> </Layout>
</div> </div>
</div> </div>