diff --git a/ui/litellm-dashboard/src/components/user_dashboard.tsx b/ui/litellm-dashboard/src/components/user_dashboard.tsx index 0fbc6f85bd..4279c124d0 100644 --- a/ui/litellm-dashboard/src/components/user_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/user_dashboard.tsx @@ -338,6 +338,7 @@ const UserDashboard: React.FC = ({ // Clear token cookies using the utility function gotoLogin(); + return null; } else { // Check if token is expired try {