const IssueContainer: React.FC<{ issue: GithubIssue }> = ({ issue }) => ( | |
<UpdateIssueNameMutation mutation={UPDATE_ISSUE_NAME}> | |
{updateIssuename => ( | |
<IssueFields | |
issue={issue} | |
onChange={name => { | |
updateIssuename({ | |
variables: { | |
input: { | |
id: issue.id, | |
name, | |
}, | |
}, | |
}); | |
}} | |
/> | |
)} | |
</UpdateIssueNameMutation> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment