Skip to content

Commit

Permalink
Merge pull request #6306 from topcoder-platform/inactive-member
Browse files Browse the repository at this point in the history
Return 404 if member not ACTIVE
  • Loading branch information
luizrrodrigues authored Apr 22, 2022
2 parents ca638f9 + ed37e71 commit f7e0c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/containers/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ProfileContainer extends React.Component {
handleParam,
} = this.props;

if (loadingError) {
if (loadingError || (info && info.status !== 'ACTIVE')) {
return <Error404 />;
}

Expand Down

0 comments on commit f7e0c83

Please sign in to comment.