aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Event.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 20:10:43 -0800
committerAdam Soltys <[email protected]>2026-02-11 20:10:43 -0800
commit56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (patch)
treed6bc2557c56b93177bb14aa376847c6e123a4862 /src/components/Event.svelte
parent13466248004327e9a026cb89f94926f9b060d1c1 (diff)
downloadcoinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.tar.gz
coinos-ui-56a04684c1fb77ea7b21afc6b0d2e1c4773906f6.zip
format
Diffstat (limited to 'src/components/Event.svelte')
-rw-r--r--src/components/Event.svelte15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/components/Event.svelte b/src/components/Event.svelte
index 3ecf00fc..03b93695 100644
--- a/src/components/Event.svelte
+++ b/src/components/Event.svelte
@@ -43,11 +43,7 @@
</div>
{#if author.lud16}
<div class="flex items-center">
- <iconify-icon
- noobserver
- icon="ph:lightning-fill"
- class="text-yellow-300"
- ></iconify-icon>
+ <iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300"></iconify-icon>
{author.lud16}
</div>
{/if}
@@ -75,8 +71,7 @@
{:else if type === "link"}
<Media {value} {minimal} />
{:else if type.match(/^nostr:np(rofile|ub)$/)}
- <a href={`/${value.pubkey}`} class="font-bold">@{names[value.pubkey]}</a
- >
+ <a href={`/${value.pubkey}`} class="font-bold">@{names[value.pubkey]}</a>
{/if}
{/each}
</div>
@@ -99,11 +94,7 @@
<div class="justify-center flex">
<button type="button" onclick={zap} class="btn btn-accent items-center">
<div class="flex gap-1 items-center">
- <iconify-icon
- noobserver
- icon="ph:lightning-fill"
- class="text-yellow-300"
- width={32}
+ <iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300" width={32}
></iconify-icon>
<div>Zap</div>
</div>