From 98c30de367546a03801622268917a0c9278e4e2b Mon Sep 17 00:00:00 2001 From: Ryan Crabbe Date: Sat, 9 May 2026 09:31:46 -0700 Subject: [PATCH] fix(ui): drop userRole prop on GuardrailsPanel call site in src/app/page.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missed in the earlier refactor — GuardrailsPanel no longer accepts userRole as a prop (reads from useAuthorized hook), so callers must not pass it. The build was failing in production type-check. Refs LIT-2494 --- ui/litellm-dashboard/src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/app/page.tsx b/ui/litellm-dashboard/src/app/page.tsx index 06bf3b68d05..d37b20b0c7b 100644 --- a/ui/litellm-dashboard/src/app/page.tsx +++ b/ui/litellm-dashboard/src/app/page.tsx @@ -558,7 +558,7 @@ function CreateKeyPageContent() { ) : page == "budgets" ? ( ) : page == "guardrails" ? ( - + ) : page == "policies" ? ( ) : page == "agents" ? (