diff --git a/src/components/AppContent.tsx b/src/components/AppContent.tsx index 3234544..b463df4 100644 --- a/src/components/AppContent.tsx +++ b/src/components/AppContent.tsx @@ -21,7 +21,8 @@ const AppContent: React.FC = () => { // Display a loading indicator while AuthContext is determining authentication status if (loading) { - return
You do not have sufficient permissions to view this page. Your role: {user.role}. Required: {UserRoles.MOD}. @@ -44,7 +46,8 @@ const AppContent: React.FC = () => { // If loading is false, and we have a user with MOD permission and a token, render the main app content return ( -