From 6ae0c07daeea0e03c832b3aa0f838778627431d8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 20 Mar 2017 04:48:32 +0100 Subject: view app as a different user --- client/components/MealList.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'client/components/MealList.jsx') diff --git a/client/components/MealList.jsx b/client/components/MealList.jsx index 7a46c6d..7efbf4d 100644 --- a/client/components/MealList.jsx +++ b/client/components/MealList.jsx @@ -48,7 +48,6 @@ export default class MealList extends React.Component { this.mealForm.pick(meal) } loadMeals(meals) { - console.log(meals) this.setState({ data: meals }) } render() { @@ -64,18 +63,16 @@ export default class MealList extends React.Component { onDelete={this.handleDelete} /> ) }) - console.log(this.props.user.goal, group.calories) const isOverLimit = group.calories > this.props.user.goal ? 'isOverLimit' : 'isUnderLimit' return (
{group.date} - {group.calories} cal. + {group.calories} cal
{mealitems}
) }) - console.log(items) if (! items.length) { items.push(
No meals found
-- cgit v1.2.3-70-g09d2