diff --git a/src/use4Bytes.ts b/src/use4Bytes.ts index 3cf3f27..690d5a3 100644 --- a/src/use4Bytes.ts +++ b/src/use4Bytes.ts @@ -69,7 +69,7 @@ export const useBatch4Bytes = ( const [fourBytesMap, setFourBytesMap] = useState({}); useEffect(() => { - if (!rawFourByteSigs || !assetsURLPrefix) { + if (!rawFourByteSigs || assetsURLPrefix === undefined) { setFourBytesMap({}); return; }