From ffc7ce2e1e0f379b01e92c2b6df336825ef06e7f Mon Sep 17 00:00:00 2001 From: jeremyphilemon Date: Wed, 15 Jan 2025 19:50:18 +0530 Subject: [PATCH] do not render suggestions when empty --- components/block.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/block.tsx b/components/block.tsx index c1b9c5e88..dd0865472 100644 --- a/components/block.tsx +++ b/components/block.tsx @@ -528,7 +528,7 @@ function PureBlock({ /> ) : null} - {suggestions ? ( + {suggestions && suggestions.length > 0 ? (
) : null}