diff --git a/clients/banking/src/components/AccountClose.tsx b/clients/banking/src/components/AccountClose.tsx index d58ba69cd..865d8fd22 100644 --- a/clients/banking/src/components/AccountClose.tsx +++ b/clients/banking/src/components/AccountClose.tsx @@ -332,6 +332,7 @@ export const AccountClose = ({ accountId, resourceId, status }: Props) => { match(data) .with(AsyncData.P.Done(Result.P.Ok(P.select({ user: P.nonNullable }))), ({ user }) => { if ( + user.accountMemberships.pageInfo.hasNextPage === true && !user.accountMemberships.edges.some(membership => membership.node.accountId === accountId) ) { setVariables({ after: user.accountMemberships.pageInfo.endCursor });