diff --git a/packages/nextjs/app/_components/ActiveGrants.tsx b/packages/nextjs/app/_components/ActiveGrants.tsx index 7f67789..83902f5 100644 --- a/packages/nextjs/app/_components/ActiveGrants.tsx +++ b/packages/nextjs/app/_components/ActiveGrants.tsx @@ -20,35 +20,35 @@ const ActiveGrantRow = ({ title, askAmount, builder, approvedAt }: GrantData) => export const ActiveGrants = async () => { const activeGrants = await getAllActiveGrants(); + if (!activeGrants.length) { + return null; + } + return (
Title | -Funding | -Builder | -Date | -
---|
Title | +Funding | +Builder | +Date | +
---|
No active grants
- )} +