Removed console logs
This commit is contained in:
parent
de48b3475e
commit
5a0ff1d780
4 changed files with 0 additions and 4 deletions
|
@ -19,7 +19,6 @@ export default({
|
||||||
uncompleteAchievement
|
uncompleteAchievement
|
||||||
}) => {
|
}) => {
|
||||||
if(completed) {
|
if(completed) {
|
||||||
console.log("Completed: ", completed);
|
|
||||||
const variables = {
|
const variables = {
|
||||||
id: completed.id
|
id: completed.id
|
||||||
};
|
};
|
||||||
|
|
|
@ -70,7 +70,6 @@ export default graphql(gql`
|
||||||
},
|
},
|
||||||
updateQuery: (prev, response) => {
|
updateQuery: (prev, response) => {
|
||||||
const subscriptionData = response.subscriptionData.data.CompletedAchievement;
|
const subscriptionData = response.subscriptionData.data.CompletedAchievement;
|
||||||
console.log("UPDATE! :", response);
|
|
||||||
|
|
||||||
let updatedAchievements;
|
let updatedAchievements;
|
||||||
const oldAchievements = prev.completed
|
const oldAchievements = prev.completed
|
||||||
|
|
|
@ -49,7 +49,6 @@ export default graphql(gql`
|
||||||
scoutID: params.scoutID
|
scoutID: params.scoutID
|
||||||
},
|
},
|
||||||
updateQuery: (prev, {subscriptionData}) => {
|
updateQuery: (prev, {subscriptionData}) => {
|
||||||
console.log("SubscriptionData: ", subscriptionData);
|
|
||||||
if(!subscriptionData.data) {
|
if(!subscriptionData.data) {
|
||||||
return prev;
|
return prev;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,6 @@ export default graphql(gql`
|
||||||
},
|
},
|
||||||
updateQuery: (prev, {subscriptionData}) => {
|
updateQuery: (prev, {subscriptionData}) => {
|
||||||
if(!subscriptionData.data) {
|
if(!subscriptionData.data) {
|
||||||
console.log('no data!');
|
|
||||||
return prev;
|
return prev;
|
||||||
}
|
}
|
||||||
console.log('data! : ', prev, ':', subscriptionData);
|
console.log('data! : ', prev, ':', subscriptionData);
|
||||||
|
|
Loading…
Reference in a new issue