Added prop type, removed unused console log and import

This commit is contained in:
Alex Holliday committed 2024-07-19 10:44:48 -07:00
1 parent bd2422c90a
commit 903702607d
2 files changed
+4 -4

No files matched your search

-1
View File
@@ -7,7 +7,6 @@ const withAdminCheck = (WrappedComponent) => {
const navigate = useNavigate();
useEffect(() => {
console.log("admin check");
axiosInstance
.get("/auth/users/admin")
.then((response) => {