diff --git a/ui/litellm-dashboard/src/components/user_dashboard.tsx b/ui/litellm-dashboard/src/components/user_dashboard.tsx index 90eac56540d..2c51a89fb1d 100644 --- a/ui/litellm-dashboard/src/components/user_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/user_dashboard.tsx @@ -1,7 +1,5 @@ "use client"; import { clearTokenCookies, getCookie } from "@/utils/cookieUtils"; -import { Col, Grid } from "@tremor/react"; -import { Typography } from "antd"; import { jwtDecode } from "jwt-decode"; import { useSearchParams } from "next/navigation"; import React, { useEffect, useState } from "react"; @@ -318,21 +316,20 @@ const UserDashboard: React.FC = ({ } if (userRole && userRole == "Admin Viewer") { - const { Title, Paragraph } = Typography; return (
- Access Denied - Ask your proxy admin for access to create keys +

Access Denied

+

+ Ask your proxy admin for access to create keys +

); } - console.log("inside user dashboard, selected team", selectedTeam); - console.log("All cookies after redirect:", document.cookie); return (
- - +
+
= ({ prefillData={prefillData} /> - - +
+
); };