diff --git a/.github/workflows/push-docker-main.yml b/.github/workflows/push-docker-main.yml index bac9a6fb..d3bd5938 100644 --- a/.github/workflows/push-docker-main.yml +++ b/.github/workflows/push-docker-main.yml @@ -28,4 +28,4 @@ jobs: with: platforms: linux/amd64,linux/arm64 push: true - tags: gatewayfm/zkevm-bridge-ui-generic:1.0.2 + tags: gatewayfm/zkevm-bridge-ui-generic:1.0.3 diff --git a/src/views/home/components/deposit-warning-modal/deposit-warning-modal.view.tsx b/src/views/home/components/deposit-warning-modal/deposit-warning-modal.view.tsx index 71ac753d..c239f89e 100644 --- a/src/views/home/components/deposit-warning-modal/deposit-warning-modal.view.tsx +++ b/src/views/home/components/deposit-warning-modal/deposit-warning-modal.view.tsx @@ -5,6 +5,7 @@ import { POLYGON_TERMS_AND_CONDITIONS_URL, POLYGON_ZKEVM_RISK_DISCLOSURES_URL, } from "src/constants"; +import { useEnvContext } from "src/contexts/env.context"; import { FormData } from "src/domain"; import { useDepositWarningModalStyles } from "src/views/home/components/deposit-warning-modal/deposit-warning-modal.styles"; @@ -26,6 +27,8 @@ export const DepositWarningModal: FC = ({ onCancel, }) => { const classes = useDepositWarningModalStyles(); + const env = useEnvContext(); + const networkName = env?.networkName; return ( @@ -35,8 +38,11 @@ export const DepositWarningModal: FC = ({ Warning - You are about to transfer tokens using the Polygon zkEVM Mainnet Beta. There are risks - associated with your use of the Mainnet Beta here. You agree to the{" "} + You are about to transfer tokens using the{" "} + {networkName + ? networkName + " Beta (powered by Polygon)" + : "Polygon zkEVM Mainnet Beta"} + . There are risks associated with your use of the Mainnet Beta here. You agree to the{" "} Terms of Use, including{" "} those risks, and