diff --git a/ui/litellm-dashboard/eslint-suppressions.json b/ui/litellm-dashboard/eslint-suppressions.json
index 233741652a..d3169395b4 100644
--- a/ui/litellm-dashboard/eslint-suppressions.json
+++ b/ui/litellm-dashboard/eslint-suppressions.json
@@ -164,11 +164,6 @@
"count": 2
}
},
- "src/app/(dashboard)/layout.tsx": {
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
"src/app/(dashboard)/models-and-endpoints/ModelsAndEndpointsView.tsx": {
"no-restricted-imports": {
"count": 1
@@ -228,11 +223,6 @@
"count": 1
}
},
- "src/app/page.tsx": {
- "unused-imports/no-unused-imports": {
- "count": 2
- }
- },
"src/components/AIHub/AgentHubTableColumns.test.tsx": {
"unused-imports/no-unused-imports": {
"count": 1
@@ -243,14 +233,6 @@
"count": 1
}
},
- "src/components/AIHub/ClaudeCodeMarketplaceTab.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/immutability": {
- "count": 1
- }
- },
"src/components/AIHub/ModelHubTable.test.tsx": {
"max-params": {
"count": 1
@@ -303,11 +285,6 @@
"count": 1
}
},
- "src/components/AIHub/marketplace_table_columns.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/components/AdminPanel.tsx": {
"no-restricted-imports": {
"count": 1
@@ -816,11 +793,6 @@
"count": 1
}
},
- "src/components/agents/agent_table.tsx": {
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/components/alerting/dynamic_form.tsx": {
"no-restricted-imports": {
"count": 1
@@ -956,14 +928,6 @@
"count": 1
}
},
- "src/components/claude_code_plugins/plugin_info.tsx": {
- "no-restricted-imports": {
- "count": 1
- },
- "react-hooks/immutability": {
- "count": 1
- }
- },
"src/components/claude_code_plugins/plugin_table.tsx": {
"no-restricted-imports": {
"count": 1
@@ -1333,14 +1297,6 @@
"count": 2
}
},
- "src/components/mcp_tools/mcp_server_columns.tsx": {
- "max-params": {
- "count": 1
- },
- "no-restricted-imports": {
- "count": 1
- }
- },
"src/components/mcp_tools/mcp_server_cost_config.tsx": {
"no-restricted-imports": {
"count": 1
@@ -1489,11 +1445,6 @@
"count": 1
}
},
- "src/components/navbar.tsx": {
- "react-hooks/set-state-in-effect": {
- "count": 1
- }
- },
"src/components/networking.tsx": {
"max-params": {
"count": 23
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/api-reference/page.tsx b/ui/litellm-dashboard/src/app/(dashboard)/api-reference/page.tsx
index 02bed1adbe..a4a4d3d0f4 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/api-reference/page.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/api-reference/page.tsx
@@ -1,10 +1,12 @@
"use client";
import APIReferenceView from "@/app/(dashboard)/api-reference/APIReferenceView";
+import useAuthorized from "@/app/(dashboard)/hooks/useAuthorized";
import useProxySettings from "@/app/(dashboard)/hooks/proxySettings/useProxySettings";
const APIReferencePage = () => {
- const proxySettings = useProxySettings();
+ const { accessToken } = useAuthorized();
+ const proxySettings = useProxySettings(accessToken);
return