Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.