From db22da3e2cd1c86847bad03dcb392b613a1e9de3 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 6 Jul 2022 15:22:36 -0700 Subject: [PATCH] fix type error --- web/components/contract/contract-description.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract/contract-description.tsx b/web/components/contract/contract-description.tsx index ca53fe15..2c723c97 100644 --- a/web/components/contract/contract-description.tsx +++ b/web/components/contract/contract-description.tsx @@ -38,7 +38,7 @@ export function ContractDescription(props: { }) } - if (!isCreator && !contract.description.trim()) return null + if (!isCreator && !contract.description) return null const { tags } = contract const categories = tags.filter((tag) =>