From d0c1ec93b6219114567e701526b6d8e9f2909717 Mon Sep 17 00:00:00 2001 From: dewanshparashar Date: Wed, 18 Dec 2024 15:19:35 +0530 Subject: [PATCH] dev: try --- packages/arb-token-bridge-ui/src/util/CommonUtils.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/arb-token-bridge-ui/src/util/CommonUtils.ts b/packages/arb-token-bridge-ui/src/util/CommonUtils.ts index 5ebfb7eca5..d4752956f2 100644 --- a/packages/arb-token-bridge-ui/src/util/CommonUtils.ts +++ b/packages/arb-token-bridge-ui/src/util/CommonUtils.ts @@ -16,6 +16,8 @@ export function shortenTxHash(txHash: string) { )}` } -export const isTestingEnvironment = - !!(typeof window !== 'undefined' && window && window.Cypress) || - process.env.NODE_ENV !== 'production' +export const isTestingEnvironment = !!( + typeof window !== 'undefined' && + window && + window.Cypress +)