Skip to content

An AI-powered search engine with a generative UI

fix: prevent displaying '0' results during loading in search section

Devin AI01a70021bbac
diff --git a/components/section.tsx b/components/section.tsx
index 55c5751d..403111b9 100644
--- a/components/section.tsx
+++ b/components/section.tsx
@@ -112,7 +112,7 @@ export function ToolArgsSection({
className="py-0 flex items-center justify-between w-full"
>
<ToolBadge tool={tool}>{children}</ToolBadge>
- {number && (
+ {number && number > 0 && (
<StatusIndicator icon={Check} iconClassName="text-green-500">
{number} results
</StatusIndicator>