Browse Source

fix linter errors

master
Silberengel 10 months ago
parent
commit
165bb3c62d
  1. 2
      src/lib/components/PublicationHeader.svelte
  2. 2
      src/lib/components/blog/BlogHeader.svelte
  3. 2
      src/lib/components/util/ArticleNav.svelte
  4. 2
      src/lib/components/util/Details.svelte
  5. 3
      src/routes/visualize/+page.svelte

2
src/lib/components/PublicationHeader.svelte

@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
<h3 class='text-base font-normal'>
by
{#if authorPubkey != null}
<InlineProfile pubkey={authorPubkey} title={author} />
<InlineProfile pubkey={authorPubkey} name={author} />
{:else}
{author}
{/if}

2
src/lib/components/blog/BlogHeader.svelte

@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
<div class='space-y-4'>
<div class="flex flex-row justify-between my-2">
<div class="flex flex-col">
<InlineProfile pubkey={authorPubkey} title={author} />
<InlineProfile pubkey={authorPubkey} name={author} />
<span class='text-gray-500'>{publishedAt()}</span>
</div>
<CardActions event={event} />

2
src/lib/components/util/ArticleNav.svelte

@ -131,7 +131,7 @@ @@ -131,7 +131,7 @@
{/if}
</div>
<div class="flex flex-grow text justify-center items-center">
<p class="max-w-[60vw] line-ellipsis"><b class="text-nowrap">{title}</b> <span class="whitespace-nowrap">by <InlineProfile pubkey={pubkey} title={author} /></span></p>
<p class="max-w-[60vw] line-ellipsis"><b class="text-nowrap">{title}</b> <span class="whitespace-nowrap">by <InlineProfile pubkey={pubkey} name={author} /></span></p>
</div>
<div class="flex justify-end items-center space-x-2 md:min-w-52 min-w-8">
{#if $publicationColumnVisibility.inner}

2
src/lib/components/util/Details.svelte

@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
<h2 class="text-base font-bold">
by
{#if originalAuthor !== null}
<InlineProfile pubkey={originalAuthor} title={author} />
<InlineProfile pubkey={originalAuthor} name={author} />
{:else}
{author}
{/if}

3
src/routes/visualize/+page.svelte

@ -11,9 +11,6 @@ @@ -11,9 +11,6 @@
import type { NDKEvent } from "@nostr-dev-kit/ndk";
import { filterValidIndexEvents } from "$lib/utils";
import { networkFetchLimit } from "$lib/state";
import { CogSolid } from "flowbite-svelte-icons";
import { Button } from "flowbite-svelte";
import Settings from "$lib/navigator/EventNetwork/Settings.svelte";
// Configuration
const DEBUG = false; // Set to true to enable debug logging

Loading…
Cancel
Save