From 5d29dcee5ee70f7a0489e34ad5e5fcdb751835d3 Mon Sep 17 00:00:00 2001 From: andregardi <33497086+andregardi@users.noreply.github.com> Date: Tue, 30 Jan 2024 05:49:19 -0300 Subject: [PATCH] Add visual feedback when paginate or searching subscribers. (#86963) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: André Gardi --- client/my-sites/subscribers/queries/use-subscribers-query.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/my-sites/subscribers/queries/use-subscribers-query.tsx b/client/my-sites/subscribers/queries/use-subscribers-query.tsx index d90a50e728163..8541c0373859c 100644 --- a/client/my-sites/subscribers/queries/use-subscribers-query.tsx +++ b/client/my-sites/subscribers/queries/use-subscribers-query.tsx @@ -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'; @@ -53,7 +53,6 @@ const useSubscribersQuery = ( { } ); }, enabled: !! siteId && shouldFetch, - placeholderData: keepPreviousData, } ); };