Cleaning Console.log

This commit is contained in:
Luis Fernando Molina committed 2018-09-28 08:09:33 +02:00
1 parent 7b784b7ef2
commit b68cf6b7b4
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -156,7 +156,6 @@ class UserSearch extends Component {
if (data.loading) {
return (<div> Loading Users... </div>)
} else {
console.log(data)
if (data.usersSearch === undefined) {
return (<div> No Users to Display </div>)
} else {
+1 -1
View File
@@ -163,7 +163,7 @@ const RootQuery = new GraphQLObjectType({
if (args.lastName !== null && args.lastName !== '') { mongoQuery.$or.push({lastName: args.lastName}) }
if (mongoQuery.$or.length === 0) { mongoQuery = {} }
console.log('mongoQuery', mongoQuery)
return User.find(mongoQuery)
}
},