From ed37e7112961c69514eb38272415a64589afd6f3 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Fri, 22 Apr 2022 20:41:28 -0300 Subject: [PATCH] Return 404 if member not sACTIVE --- src/shared/containers/Profile.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/containers/Profile.jsx b/src/shared/containers/Profile.jsx index f79e003079..0e5704037a 100644 --- a/src/shared/containers/Profile.jsx +++ b/src/shared/containers/Profile.jsx @@ -96,7 +96,7 @@ class ProfileContainer extends React.Component { handleParam, } = this.props; - if (loadingError) { + if (loadingError || (info && info.status !== 'ACTIVE')) { return ; }