Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Query query={GET_UPGRADE_OFFER}>
- {({loading, error, data}) => {
- if (!loading && !error) {
- return (<Mutation mutation={GET_UPGRADE_QUOTE}>
- {(mutateIntegration, response) => (
- <MyComponent mutateIntegration={mutateIntegration} {...response} data={data} />
- )}
- </Mutation>);
- }
- return null;
- }};
- </Query>
Add Comment
Please, Sign In to add comment