Fix 4bytes trace map not loading on prod build
This commit is contained in:
parent
48686249f3
commit
c2629b5830
|
@ -69,7 +69,7 @@ export const useBatch4Bytes = (
|
|||
|
||||
const [fourBytesMap, setFourBytesMap] = useState<FourBytesMap>({});
|
||||
useEffect(() => {
|
||||
if (!rawFourByteSigs || !assetsURLPrefix) {
|
||||
if (!rawFourByteSigs || assetsURLPrefix === undefined) {
|
||||
setFourBytesMap({});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue