mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Don't lookup registration if there is none
This commit is contained in:
+3
-1
@@ -27,7 +27,9 @@
|
||||
identifyAddress(address, config).then((t: AddressType) => addressType = t);
|
||||
if (resolve) {
|
||||
addressName = await config.provider.lookupAddress(address);
|
||||
info = await getRegistration(addressName, config);
|
||||
if (addressName) {
|
||||
info = await getRegistration(addressName, config);
|
||||
}
|
||||
}
|
||||
});
|
||||
$: addressLabel = addressName ?? checksumAddress;
|
||||
|
||||
Reference in New Issue
Block a user