Skip to content

Commit

Permalink
remove notifyOnNetworkStatusChange
Browse files Browse the repository at this point in the history
  • Loading branch information
reldredge71 committed Feb 3, 2020
1 parent fa4d72c commit 6ff0175
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/containers/CelebrateFeed/__tests__/CelebrateFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ it('renders with celebration items correctly', async () => {
snapshot();
expect(useQuery).toHaveBeenCalledWith(GET_CELEBRATE_FEED, {
pollInterval: 30000,
notifyOnNetworkStatusChange: true,
variables: {
communityId: organization.id,
hasUnreadComments: undefined,
Expand Down Expand Up @@ -104,7 +103,6 @@ describe('renders for member', () => {
snapshot();
expect(useQuery).toHaveBeenCalledWith(GET_CELEBRATE_FEED, {
pollInterval: 30000,
notifyOnNetworkStatusChange: true,
variables: {
communityId: organization.id,
hasUnreadComments: undefined,
Expand Down Expand Up @@ -135,7 +133,6 @@ describe('renders for member', () => {
snapshot();
expect(useQuery).toHaveBeenCalledWith(GET_CELEBRATE_FEED, {
pollInterval: 30000,
notifyOnNetworkStatusChange: true,
variables: {
communityId: organization.id,
hasUnreadComments: undefined,
Expand Down Expand Up @@ -167,7 +164,6 @@ describe('renders with clear notification', () => {
snapshot();
expect(useQuery).toHaveBeenCalledWith(GET_CELEBRATE_FEED, {
pollInterval: 30000,
notifyOnNetworkStatusChange: true,
variables: {
communityId: organization.id,
hasUnreadComments: undefined,
Expand Down Expand Up @@ -199,7 +195,6 @@ describe('renders for Unread Comments', () => {
snapshot();
expect(useQuery).toHaveBeenCalledWith(GET_CELEBRATE_FEED, {
pollInterval: 30000,
notifyOnNetworkStatusChange: true,
variables: {
communityId: organization.id,
hasUnreadComments: true,
Expand Down
1 change: 0 additions & 1 deletion src/containers/CelebrateFeed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const CelebrateFeed = ({
} = useQuery<GetCelebrateFeed>(GET_CELEBRATE_FEED, {
variables: queryVariables,
pollInterval: 30000,
notifyOnNetworkStatusChange: true,
});

const celebrationItems = celebrationSelector({ celebrateItems: nodes });
Expand Down

0 comments on commit 6ff0175

Please sign in to comment.