update user_id 5

This commit is contained in:
Mohamed Nouffer
2023-07-26 18:11:14 +05:30
parent ee98865f00
commit fb7e2f57df
9 changed files with 17 additions and 14 deletions

View File

@ -168,11 +168,14 @@ const TheContent = () => {
exact={route.exact}
name={route.name}
render={(props) =>
isDataFetched ?
get_token_from_storage_or_cookie() !== null ? (
<route.component {...props} userid={UserId} email={UserData.email} />
) : (
<Redirect to={{ pathname: "/sso" }} />
)
:
null
}
/>
);