diff --git a/client/src/Home/HomePage.tsx b/client/src/Home/HomePage.tsx
index a7aeca31..dded3e6f 100644
--- a/client/src/Home/HomePage.tsx
+++ b/client/src/Home/HomePage.tsx
@@ -9,7 +9,7 @@ import {
toggleAdmin,
selectUser,
} from '../util/redux/userSlice.ts';
-import { logout as logoutApi, selfUpgrade } from './api.tsx';
+import { logout as logoutApi } from './api.tsx';
import ScreenGrid from '../components/ScreenGrid.tsx';
import PrimaryButton from '../components/buttons/PrimaryButton.tsx';
@@ -78,13 +78,13 @@ function HomePage() {
}
};
- const handleSelfPromote = async () => {
- const newAdminStatus = await selfUpgrade(user.email as string);
- if (newAdminStatus) {
- dispatch(toggleAdmin());
- setAdmin(true);
- }
- };
+ // const handleSelfPromote = async () => {
+ // const newAdminStatus = await selfUpgrade(user.email as string);
+ // if (newAdminStatus) {
+ // dispatch(toggleAdmin());
+ // setAdmin(true);
+ // }
+ // };
const message = `Welcome to Catalyst Kitchens, ${user.firstName} ${user.lastName}!`;
@@ -205,20 +205,6 @@ function HomePage() {
- {/* Promote Button or Admin Actions */}
-
-
-
-
{/* Logout Button */}