Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
null ternary.
Browse files Browse the repository at this point in the history
  • Loading branch information
fairlighteth committed Nov 23, 2020
1 parent d46c173 commit 1e43ec9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/layout/GenericLayout/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ export const Footer: React.FC<FooterType> = () => {
networkId={networkId}
label={verifiedText ? verifiedText : 'View contract'}
/>
) : (
''
)}
) : null}
<VersionsWrapper>
{url.web && VERSION ? (
<a target="_blank" rel="noopener noreferrer" href={url.web + VERSION}>
Expand All @@ -98,9 +96,7 @@ export const Footer: React.FC<FooterType> = () => {
<a target="_blank" rel="noopener noreferrer" href={url.appId}>
App Id: {CONFIG.appId}
</a>
) : (
''
)}
) : null}
{url.contracts && CONTRACT_VERSION ? (
<a target="_blank" rel="noopener noreferrer" href={url.contracts + CONTRACT_VERSION}>
Contracts: v{CONTRACT_VERSION}
Expand Down

0 comments on commit 1e43ec9

Please sign in to comment.