Skip to content

Commit 3305a80

Browse files
committed
kindOfIssue to issueState
1 parent 1847bd1 commit 3305a80

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Issue/IssueList/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const prefetchIssues = (
4646
variables: {
4747
repositoryOwner,
4848
repositoryName,
49-
kindOfIssue: nextIssueState,
49+
issueState: nextIssueState,
5050
},
5151
});
5252
}
@@ -93,7 +93,7 @@ const Issues = ({
9393
variables={{
9494
repositoryOwner,
9595
repositoryName,
96-
kindOfIssue: issueState,
96+
issueState,
9797
}}
9898
notifyOnNetworkStatusChange={true}
9999
>
@@ -180,7 +180,7 @@ const IssueList = ({
180180
cursor: issues.pageInfo.endCursor,
181181
repositoryOwner,
182182
repositoryName,
183-
kindOfIssue: issueState,
183+
issueState,
184184
}}
185185
updateQuery={updateQuery}
186186
fetchMore={fetchMore}

src/Issue/IssueList/queries.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ export const GET_ISSUES_OF_REPOSITORY = gql`
44
query(
55
$repositoryOwner: String!
66
$repositoryName: String!
7-
$kindOfIssue: IssueState!
7+
$issueState: IssueState!
88
$cursor: String
99
) {
1010
repository(name: $repositoryName, owner: $repositoryOwner) {
11-
issues(first: 5, states: [$kindOfIssue], after: $cursor) {
11+
issues(first: 5, states: [$issueState], after: $cursor) {
1212
edges {
1313
node {
1414
id

0 commit comments

Comments
 (0)