diff --git a/app/util/lodash/index.ts b/app/util/lodash/index.ts index 9f1bd8581f4..43767b8a9b4 100644 --- a/app/util/lodash/index.ts +++ b/app/util/lodash/index.ts @@ -7,7 +7,11 @@ // TODO: Replace "any" with type // eslint-disable-next-line @typescript-eslint/no-explicit-any export const isZero = (value: number | any): boolean => { - if (value?.toString && value?.toString?.() === '0') { + + if ( + value?.toString && + (value?.toString?.() === '0' || value?.toString?.() === '0x0') + ) { return true; } return false;