Remove debug logs

This commit is contained in:
Jake Howard 2016-05-05 13:35:51 +01:00
parent 7a33821d19
commit 255aac00a9
3 changed files with 0 additions and 4 deletions

View file

@ -56,7 +56,6 @@ export class ProjectList extends React.Component {
if (!this.props.token) { if (!this.props.token) {
return null; // If there's no token, we can't do anything, so wait return null; // If there's no token, we can't do anything, so wait
} }
console.log('HAS TOKEN', this.props.userDetails.token);
return ( return (
<View style={styles.listView}> <View style={styles.listView}>
<GiftedListView <GiftedListView

View file

@ -6,10 +6,8 @@ export default store => next => action => {
} }
const TOKEN = store.getState().user.get('token'); const TOKEN = store.getState().user.get('token');
console.log('GOT TOKEN', TOKEN);
if (TOKEN) { if (TOKEN) {
action[CALL_API].endpoint = action[CALL_API].endpoint.query('circle-token', TOKEN ); action[CALL_API].endpoint = action[CALL_API].endpoint.query('circle-token', TOKEN );
console.log('SET URL TO', action[CALL_API].endpoint.toString());
} }
action[CALL_API].endpoint = action[CALL_API].endpoint.toString(); // COnvert url object to string action[CALL_API].endpoint = action[CALL_API].endpoint.toString(); // COnvert url object to string

View file

@ -2,7 +2,6 @@ import * as actions from '../actions';
import { Map } from 'immutable'; import { Map } from 'immutable';
export default function allProjects(state = Map(), action) { export default function allProjects(state = Map(), action) {
console.log(action.type);
if (action.type === actions.GET_PROJECTS.SUCCESS) { if (action.type === actions.GET_PROJECTS.SUCCESS) {
return Map(action.payload); return Map(action.payload);
} }