From ed923a98cacd3be2460d4965a513a04d72429f4e Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Tue, 22 Jul 2025 15:49:17 -0700 Subject: [PATCH] fix: Improper error rendering bug (#478) --- apps/web/src/components/v2/collapsible-alert.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/components/v2/collapsible-alert.tsx b/apps/web/src/components/v2/collapsible-alert.tsx index 652e7af2..1aa0d40c 100644 --- a/apps/web/src/components/v2/collapsible-alert.tsx +++ b/apps/web/src/components/v2/collapsible-alert.tsx @@ -45,6 +45,9 @@ function CollapsibleAlert({ }: CollapsibleAlertProps) { const [isExpanded, setIsExpanded] = useState(false); const hasDetails = Boolean(errorState.details); + if (!errorState.message && !hasDetails) { + return null; + } return (