Properly handle null id
This commit is contained in:
parent
adb8bc476f
commit
d5d1284306
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user