2024-10-03 21:32:55 +00:00
|
|
|
<script lang="ts">
|
2025-04-15 18:03:27 +00:00
|
|
|
import {deriveAliasDisplay} from "@app/state"
|
2024-10-03 21:32:55 +00:00
|
|
|
|
2025-04-15 18:03:27 +00:00
|
|
|
type Props = {
|
|
|
|
|
pubkey: string
|
|
|
|
|
url?: string
|
|
|
|
|
}
|
2024-10-03 21:32:55 +00:00
|
|
|
|
2025-04-15 18:03:27 +00:00
|
|
|
const {pubkey, url}: Props = $props()
|
|
|
|
|
|
|
|
|
|
const aliasDisplay = deriveAliasDisplay(pubkey, url)
|
2024-10-03 21:32:55 +00:00
|
|
|
</script>
|
|
|
|
|
|
2025-04-15 18:03:27 +00:00
|
|
|
{$aliasDisplay}
|