remove unused resolvers

This commit is contained in:
Barry Gitarts 2019-08-26 19:41:10 -04:00 committed by Barry G
parent 8e923a6e11
commit 16fe253f41
2 changed files with 1 additions and 9 deletions

View File

@ -11,7 +11,6 @@ query Profile($id: ID!) {
type
name
creationTime
lifetimeReceived @client
pledgesInfos {
id
token

View File

@ -48,14 +48,7 @@ class App extends React.Component {
setGraphClient = network => {
const graphUri = uris[network]
const client = new ApolloClient({
uri: graphUri,
resolvers: {
Profile: {
lifetimeReceived(infos) {
return infos.pledgesInfos[0].lifetimeReceived
}
}
}
uri: graphUri
})
this.client = client
this.setState({ clientReady: true })