diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 89b65354..20e83693 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -4,6 +4,9 @@ on: push: branches: - master + pull_request: + branches: + - master permissions: contents: read diff --git a/src/components/governance/ProposalCardInfo.jsx b/src/components/governance/ProposalCardInfo.jsx index 29d8ef6a..291b4cab 100644 --- a/src/components/governance/ProposalCardInfo.jsx +++ b/src/components/governance/ProposalCardInfo.jsx @@ -26,6 +26,10 @@ function ProposalCardInfo({ month_remaining, payment_type, }) { + const isMainnet = process.env.REACT_APP_CHAIN_NETWORK === "main"; + const blockbookBase = isMainnet + ? "https://blockbook.syscoin.org" + : "https://blockbook-dev.syscoin.org"; /** * Function that returns an html with the link or not of the proposal @@ -79,7 +83,7 @@ function ProposalCardInfo({

Collateral hash:{" "}