Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Don't lookup registration if there is none
Alexis Sellier committed 4 years ago
commit 044ec510b8f908ec1f6743975bc530d318fa5d58
parent 5d40c7ee933da1a33eaf6da269ea7b45e4163c8a
1 file changed +3 -1
modified src/Address.svelte
@@ -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;