update user_id 7

This commit is contained in:
Mohamed Nouffer
2023-07-26 18:20:52 +05:30
parent 40f735e070
commit 9df59ab9da
9 changed files with 16 additions and 16 deletions

View File

@ -39,7 +39,7 @@ const TheContent = () => {
useEffect(() => {
fetchSession()
//get_token_from_storage_or_cookie();
get_token_from_storage_or_cookie();
}, []);
async function postUserData(data) {
@ -171,7 +171,7 @@ const TheContent = () => {
name={route.name}
render={(props) =>
isDataFetched ?
get_token_from_storage_or_cookie() !== null ? (
UserId !== null ? (
<route.component {...props} userid={UserId} email={UserData.email} />
) : (
<Redirect to={{ pathname: "/sso" }} />