Skip to content

Commit

Permalink
Don't redirect on membership error (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek authored Jan 30, 2024
1 parent b65dfbe commit d2eca3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/banking/src/components/AccountArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ export const AccountArea = ({ accountMembershipId }: Props) => {
}, [membership]);

if (membership.isError()) {
return <Redirect to={Router.ProjectRootRedirect()} />;
return <ErrorView error={membership.getError()} />;
}

return (
Expand Down

0 comments on commit d2eca3b

Please sign in to comment.