diff --git a/packages/app-contracts/src/Contracts/Contract.tsx b/packages/app-contracts/src/Contracts/Contract.tsx index dfd4105226b..8cdfba65b43 100644 --- a/packages/app-contracts/src/Contracts/Contract.tsx +++ b/packages/app-contracts/src/Contracts/Contract.tsx @@ -18,7 +18,7 @@ import translate from '../translate'; interface Props extends I18nProps, RouteComponentProps { basePath: string; contract: ApiContract; - onCall?: (_?: number) => () => void; + onCall: (_?: number) => () => void; } const ContractCard = styled(Card)` @@ -82,16 +82,14 @@ function Contract (props: Props): React.ReactElement | null { size='small' tooltip={t('Forget this contract')} /> - {onCall && ( -