🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
refactor(web): Fix no-null-render: BillingSettings.tsx (#18224)
Ben Bachem0b69133bd32a
diff --git a/web/src/ee/features/billing/components/BillingSettings.tsx b/web/src/ee/features/billing/components/BillingSettings.tsxindex 07788999ee..ca4a182b12 100644--- a/web/src/ee/features/billing/components/BillingSettings.tsx+++ b/web/src/ee/features/billing/components/BillingSettings.tsx@@ -1,5 +1,4 @@/* eslint-disable no-nested-ternary */-/* eslint-disable @repo/no-null-render */// Langfuse Cloud onlyimport { useHasOrganizationAccess } from "@/src/features/rbac";@@ -60,16 +59,6 @@ export const BillingSettings = () => {billingProvider !== "clickhouse",);- // Don't render billing settings if cloud billing is not available- if (!isCloudBillingAvailable) {- return null;- }-- // Handle conditional rendering without early returns- if (!isCloudBillingEntitled) {- return null;- }-if (!hasAccess) {return (<Alert>