Skip to content

Commit

Permalink
do not render suggestions when empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyphilemon committed Jan 15, 2025
1 parent f240f64 commit ffc7ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ function PureBlock({
/>
) : null}

{suggestions ? (
{suggestions && suggestions.length > 0 ? (
<div className="md:hidden h-dvh w-12 shrink-0" />
) : null}

Expand Down

0 comments on commit ffc7ce2

Please sign in to comment.