fix(ui): drop userRole prop on GuardrailsPanel call site in src/app/page.tsx

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
This commit is contained in:
Ryan Crabbe 2026-05-09 09:31:46 -07:00
parent 9e7aee5b76
commit 98c30de367
No known key found for this signature in database

View file

@ -558,7 +558,7 @@ function CreateKeyPageContent() {
) : page == "budgets" ? (
<BudgetPanel accessToken={accessToken} />
) : page == "guardrails" ? (
<GuardrailsPanel accessToken={accessToken} userRole={userRole} />
<GuardrailsPanel accessToken={accessToken} />
) : page == "policies" ? (
<PoliciesPanel accessToken={accessToken} userRole={userRole} />
) : page == "agents" ? (