Guest User

Untitled

a guest
Nov 15th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <Query query={GET_UPGRADE_OFFER}>
  2. {({loading, error, data}) => {
  3. if (!loading && !error) {
  4. return (<Mutation mutation={GET_UPGRADE_QUOTE}>
  5. {(mutateIntegration, response) => (
  6. <MyComponent mutateIntegration={mutateIntegration} {...response} data={data} />
  7. )}
  8. </Mutation>);
  9.  
  10. }
  11. return null;
  12. }};
  13. </Query>
Add Comment
Please, Sign In to add comment