Immutable plugins

This commit is contained in:
Belen Curcio
2017-04-12 19:21:55 -03:00
parent c0913d8e98
commit 7fca451263
3 changed files with 107 additions and 78 deletions
@@ -16,7 +16,7 @@ export const postComment = graphql(POST_COMMENT, {
props: ({ownProps, mutate}) => ({
postItem: comment => {
const {asset_id, body, parent_id, tags = []} = comment;
console.log(tags)
return mutate({
variables: {
comment
@@ -77,7 +77,7 @@ export const postComment = graphql(POST_COMMENT, {
return updatedAsset;
}
}
})
});
}
}),
});