Skip to content

Commit bf0c69e

Browse files
committed
remove null variables
1 parent 7cd4669 commit bf0c69e

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

src/Comment/CommentList/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const CommentList = ({ repositoryOwner, repositoryName, issue }) => (
5252
<Query
5353
query={GET_COMMENTS_OF_ISSUE}
5454
variables={{
55-
cursor: null,
5655
repositoryOwner,
5756
repositoryName,
5857
number: issue.number,

src/FetchMore/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const FetchMore = ({
2020
<ButtonUnobtrusive
2121
className="FetchMore-button"
2222
onClick={() => doFetchMore(pageInfo.endCursor, payload)}
23-
disabled={!pageInfo.hasNextPage}
2423
>
2524
{`More ${children}`}
2625
</ButtonUnobtrusive>

src/Issue/IssueList/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const prefetchIssues = (
4949
client.query({
5050
query: GET_ISSUES_OF_REPOSITORY,
5151
variables: {
52-
cursor: null,
5352
repositoryOwner,
5453
repositoryName,
5554
kindOfIssue: KIND_OF_ISSUES[nextShowState],
@@ -150,7 +149,6 @@ const IssuesList = ({
150149
<Query
151150
query={GET_ISSUES_OF_REPOSITORY}
152151
variables={{
153-
cursor: null,
154152
repositoryOwner,
155153
repositoryName,
156154
kindOfIssue: KIND_OF_ISSUES[showState],

src/Organization/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const Organization = ({ organizationName }) => (
1212
query={GET_REPOSITORIES_OF_ORGANIZATION}
1313
variables={{
1414
organizationName,
15-
cursor: null,
1615
}}
1716
skip={organizationName === ''}
1817
notifyOnNetworkStatusChange={true}

src/Profile/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ import ErrorMessage from '../Error';
1010
const Profile = () => (
1111
<Query
1212
query={GET_REPOSITORIES_OF_CURRENT_USER}
13-
variables={{
14-
cursor: null,
15-
}}
1613
notifyOnNetworkStatusChange={true}
1714
>
1815
{({ data, loading, error, fetchMore }) => {

0 commit comments

Comments
 (0)