From 6ae0c07daeea0e03c832b3aa0f838778627431d8 Mon Sep 17 00:00:00 2001
From: Jules Laplace <jules@okfoc.us>
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 (
         <div key={group.date} className='group'>
           <span className='groupDate'>{group.date}</span>
-          <span className={'calories ' + isOverLimit}>{group.calories} cal.</span>
+          <span className={'calories ' + isOverLimit}>{group.calories} cal</span>
           <br />
           {mealitems}
         </div>
       )
     })
-    console.log(items)
     if (! items.length) {
       items.push(
         <div className='quiet' key='nomeals'>No meals found</div>
-- 
cgit v1.2.3-70-g09d2

