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
+3 -2
View File
@@ -1,6 +1,7 @@
<script lang="ts">
import {removeNil} from "@welshman/lib"
import {deriveProfile} from "@welshman/app"
import Content from "@app/components/Content.svelte"
import {deriveAliasedProfile} from "@app/state"
export type Props = {
pubkey: string
@@ -9,7 +10,7 @@
const {pubkey, url}: Props = $props()
const profile = deriveAliasedProfile(pubkey, url)
const profile = deriveProfile(pubkey, removeNil([url]))
</script>
{#if $profile}