Added prop type, removed unused console log and import
This commit is contained in:
1 parent
bd2422c90a
commit
903702607d
2 files changed
+4
-4
No files matched your search
@@ -7,7 +7,6 @@ const withAdminCheck = (WrappedComponent) => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
useEffect(() => {
|
||||
console.log("admin check");
|
||||
axiosInstance
|
||||
.get("/auth/users/admin")
|
||||
.then((response) => {
|
||||
|
||||
Reference in new issue
Block a user