Remove debug logs
This commit is contained in:
parent
7a33821d19
commit
255aac00a9
3 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue