From d5d1284306f900df375b970902c45e9d54d5610a Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Mon, 3 Oct 2022 09:57:27 -0600 Subject: [PATCH] Properly handle null id --- web/components/contract/contract-info-dialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract/contract-info-dialog.tsx b/web/components/contract/contract-info-dialog.tsx index 306b2587..bc1384b3 100644 --- a/web/components/contract/contract-info-dialog.tsx +++ b/web/components/contract/contract-info-dialog.tsx @@ -42,7 +42,7 @@ export function ContractInfoDialog(props: { const isUnlisted = contract.visibility === 'unlisted' const wasUnlistedByCreator = contract.unlistedById ? contract.unlistedById === contract.creatorId - : true + : false const formatTime = (dt: number) => dayjs(dt).format('MMM DD, YYYY hh:mm a')