Drop client-side console.log

This commit is contained in:
Tom Russell 2019-04-18 17:07:00 +01:00
parent e491b6718d
commit 7553fcf597
2 changed files with 1 additions and 3 deletions

View File

@ -51,7 +51,6 @@ class App extends React.Component {
}
updateUser(user){
console.log(user);
this.setState({user: { ...this.state.user, ...user }});
}

View File

@ -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>