diff --git a/packages/manager/src/features/Account/SwitchAccounts/ChildAccountList.tsx b/packages/manager/src/features/Account/SwitchAccounts/ChildAccountList.tsx index dd48d1678db..3f9075bb849 100644 --- a/packages/manager/src/features/Account/SwitchAccounts/ChildAccountList.tsx +++ b/packages/manager/src/features/Account/SwitchAccounts/ChildAccountList.tsx @@ -81,7 +81,7 @@ export const ChildAccountList = React.memo( queryClient.invalidateQueries([ accountQueryKey, 'childAccounts', - 'paginated', + 'infinite', ]); refetchChildAccounts(); }} diff --git a/packages/manager/src/queries/account.ts b/packages/manager/src/queries/account.ts index 82e1a3e2f4a..e18ff88aff4 100644 --- a/packages/manager/src/queries/account.ts +++ b/packages/manager/src/queries/account.ts @@ -89,7 +89,7 @@ export const useChildAccountsInfiniteQuery = ({ hasExplicitAuthToken; return useInfiniteQuery, APIError[]>( - [queryKey, 'childAccounts', 'paginated', params, filter], + [queryKey, 'childAccounts', 'infinite', params, filter], ({ pageParam }) => getChildAccounts({ filter,