delete comment
This commit is contained in:
@@ -77,14 +77,14 @@ export default function Application() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data && data?.masterUserRoleId !== "1") {
|
// if (data && data?.masterUserRoleId !== "1") {
|
||||||
console.log("User is not admin");
|
// console.log("User is not admin");
|
||||||
return (
|
// return (
|
||||||
<BasicWrapper>
|
// <BasicWrapper>
|
||||||
<Redirect href={`/admin/dashboard`} />
|
// <Redirect href={`/admin/dashboard`} />
|
||||||
</BasicWrapper>
|
// </BasicWrapper>
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user