Fix clicking card from user profile has no effect

This commit is contained in:
James Grugett 2022-06-04 23:21:24 -05:00
parent a42a0f086c
commit 3d31641050

View File

@ -44,7 +44,9 @@ export function ContractsGrid(props: {
contract={contract} contract={contract}
key={contract.id} key={contract.id}
showCloseTime={showCloseTime} showCloseTime={showCloseTime}
onClick={() => onContractClick?.(contract)} onClick={
onContractClick ? () => onContractClick(contract) : undefined
}
/> />
))} ))}
</ul> </ul>