Skip to content

Commit

Permalink
Add visual feedback when paginate or searching subscribers. (#86963)
Browse files Browse the repository at this point in the history
Co-authored-by: André Gardi <[email protected]>
  • Loading branch information
andregardi and André Gardi authored Jan 30, 2024
1 parent 04b8721 commit 5d29dce
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { keepPreviousData, useQuery } from '@tanstack/react-query';
import { useQuery } from '@tanstack/react-query';
import wpcom from 'calypso/lib/wp';
import { DEFAULT_PER_PAGE, SubscribersFilterBy, SubscribersSortBy } from '../constants';
import { getSubscribersCacheKey } from '../helpers';
Expand Down Expand Up @@ -53,7 +53,6 @@ const useSubscribersQuery = ( {
} );
},
enabled: !! siteId && shouldFetch,
placeholderData: keepPreviousData,
} );
};

Expand Down

0 comments on commit 5d29dce

Please sign in to comment.