From fce08284bd60959ca9b8b44527a3f84157cf1175 Mon Sep 17 00:00:00 2001 From: Charlie McKenzie Date: Fri, 19 Apr 2024 12:04:58 +1000 Subject: [PATCH] fix: [GPR-594] Updates to cloud image component image resizer url based on environment (#1684) --- .../ChangedYourMindDrawer/ChangedYourMindDrawer.tsx | 2 ++ .../src/components/NotEnoughGas/NotEnoughGas.tsx | 3 ++- .../src/components/NotEnoughImx/NotEnoughImx.tsx | 2 ++ .../components/Transactions/NotEnoughEthToWithdraw.tsx | 8 ++++++-- .../UnableToConnectDrawer/UnableToConnectDrawer.tsx | 2 ++ packages/checkout/widgets-lib/src/lib/constants.ts | 6 ++++++ 6 files changed, 20 insertions(+), 3 deletions(-) diff --git a/packages/checkout/widgets-lib/src/components/ChangedYourMindDrawer/ChangedYourMindDrawer.tsx b/packages/checkout/widgets-lib/src/components/ChangedYourMindDrawer/ChangedYourMindDrawer.tsx index af1ef87b05..1c8f98f81e 100644 --- a/packages/checkout/widgets-lib/src/components/ChangedYourMindDrawer/ChangedYourMindDrawer.tsx +++ b/packages/checkout/widgets-lib/src/components/ChangedYourMindDrawer/ChangedYourMindDrawer.tsx @@ -11,6 +11,7 @@ import { Checkout } from '@imtbl/checkout-sdk'; import { Environment } from '@imtbl/config'; import { getRemoteImage } from 'lib/utils'; import { useTranslation } from 'react-i18next'; +import { IMAGE_RESIZER_URL } from '../../lib'; export interface ChangedYourMindDrawerProps { visible: boolean; @@ -57,6 +58,7 @@ export function ChangedYourMindDrawer({ > - +