Skip to content

Commit

Permalink
dev: type ensure
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanshparashar committed Dec 17, 2024
1 parent a76bbe8 commit ab258f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/arb-token-bridge-ui/src/util/CommonUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export function shortenTxHash(txHash: string) {
}

export const isTestingEnvironment =
!!window.Cypress || process.env.NODE_ENV !== 'production'
!!(typeof window !== 'undefined' && window && window.Cypress) ||
process.env.NODE_ENV !== 'production'

0 comments on commit ab258f2

Please sign in to comment.