Remove aliases, their time has not yet come

This commit is contained in:
Jon Staab
2025-04-16 10:36:21 -07:00
parent f3debe6c02
commit 303b8967e9
10 changed files with 41 additions and 93 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
<script lang="ts">
import {deriveAliasDisplay} from "@app/state"
import {removeNil} from "@welshman/lib"
import {deriveProfileDisplay} from "@welshman/app"
type Props = {
pubkey: string
@@ -8,7 +9,7 @@
const {pubkey, url}: Props = $props()
const aliasDisplay = deriveAliasDisplay(pubkey, url)
const profileDisplay = deriveProfileDisplay(pubkey, removeNil([url]))
</script>
{$aliasDisplay}
{$profileDisplay}