diff --git a/src/use4Bytes.ts b/src/use4Bytes.ts index d68bedf..20cb6d6 100644 --- a/src/use4Bytes.ts +++ b/src/use4Bytes.ts @@ -159,7 +159,11 @@ export const useTransactionDescription = ( if (!fourBytesEntry) { return fourBytesEntry; } - if (!fourBytesEntry.signature || !data || !value) { + if ( + !fourBytesEntry.signature || + data === undefined || + value === undefined + ) { return undefined; }