Drop client-side console.log
This commit is contained in:
parent
e491b6718d
commit
7553fcf597
@ -51,7 +51,6 @@ class App extends React.Component {
|
||||
}
|
||||
|
||||
updateUser(user){
|
||||
console.log(user);
|
||||
this.setState({user: { ...this.state.user, ...user }});
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,6 @@ const Overview = (props) => {
|
||||
const OverviewSection = (props) => {
|
||||
const match = props.data_layer === props.slug;
|
||||
const inactive = props.inactive;
|
||||
console.log(props.fields);
|
||||
|
||||
return (
|
||||
<section className={(inactive? "inactive ": "") + "data-section legend"}>
|
||||
@ -72,7 +71,7 @@ const OverviewSection = (props) => {
|
||||
<ul>
|
||||
{
|
||||
props.fields.map((field) => {
|
||||
return (<li>{field.title}</li>)
|
||||
return (<li key={field.slug}>{field.title}</li>)
|
||||
})
|
||||
}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user