You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
445 B
13 lines
445 B
<script lang='ts'> |
|
import { createProfileLink, createProfileLinkWithVerification } from '$lib/utils/nostrUtils'; |
|
</script> |
|
|
|
{#snippet userBadge(identifier: string, displayText: string | undefined)} |
|
{#await createProfileLinkWithVerification(identifier, displayText)} |
|
{@html createProfileLink(identifier, displayText)} |
|
{:then html} |
|
{@html html} |
|
{:catch} |
|
{@html createProfileLink(identifier, displayText)} |
|
{/await} |
|
{/snippet}
|
|
|