Skip to content

Commit

Permalink
Remove unused props
Browse files Browse the repository at this point in the history
  • Loading branch information
erskingardner committed Aug 11, 2023
1 parent 95d2be7 commit 91c623a
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions src/lib/event/content/EventContent.svelte
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<script lang="ts">
import type NDK from '@nostr-dev-kit/ndk';
import { NDKList, type NDKEvent } from '@nostr-dev-kit/ndk';
import { NDKArticle } from '@nostr-dev-kit/ndk';
import Kind1 from './Kind1.svelte';
import type NDK from "@nostr-dev-kit/ndk";
import { NDKList, type NDKEvent } from "@nostr-dev-kit/ndk";
import { NDKArticle } from "@nostr-dev-kit/ndk";
import Kind1 from "./Kind1.svelte";
// import Kind40 from "./Kind40.svelte"
import Kind1063 from './Kind1063.svelte';
import Kind1063 from "./Kind1063.svelte";
// import Kind1985 from "./Kind1985.svelte"
// import Kind9802 from './Kind9802.svelte';
import Kind30000 from './Kind30000.svelte';
import Kind30001 from './Kind30001.svelte';
import Kind30023 from './Kind30023.svelte';
import Kind30000 from "./Kind30000.svelte";
import Kind30001 from "./Kind30001.svelte";
import Kind30023 from "./Kind30023.svelte";
export let ndk: NDK;
export let event: NDKEvent;
Expand All @@ -34,12 +34,5 @@
{:else if event.kind === 30001}
<Kind30001 {ndk} list={NDKList.from(event)} />
{:else if event.kind === 30023}
<Kind30023
{ndk}
article={NDKArticle.from(event)}
{maxLength}
{showEntire}
{showMedia}
on:click
/>
<Kind30023 {ndk} article={NDKArticle.from(event)} {showMedia} on:click />
{/if}

0 comments on commit 91c623a

Please sign in to comment.