Fix clicking card from user profile has no effect
This commit is contained in:
parent
a42a0f086c
commit
3d31641050
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user