Fix regression in patches feature

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-12-29 15:58:11 +01:00
parent cc416bcbf8
commit adc159a71e
2 changed files with 58 additions and 11 deletions
+9 -5
View File
@@ -17,11 +17,15 @@
onMount(async () => {
if (author.profile?.ens?.name) {
profile = await Profile.get(
author.profile.ens.name,
ProfileType.Minimal,
wallet,
);
try {
profile = await Profile.get(
author.profile.ens.name,
ProfileType.Minimal,
wallet,
);
} catch {
// Ignore profile not found.
}
}
});
</script>