Browse Source

Article -> Publication in component tag

master
buttercat1791 11 months ago
parent
commit
b27a7d2c28
  1. 4
      src/routes/publication/+page.svelte

4
src/routes/publication/+page.svelte

@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
import Article from "$lib/components/Publication.svelte"; import Publication from "$lib/components/Publication.svelte";
import { TextPlaceholder } from "flowbite-svelte"; import { TextPlaceholder } from "flowbite-svelte";
import type { PageProps } from "./$types"; import type { PageProps } from "./$types";
import { onDestroy, setContext } from "svelte"; import { onDestroy, setContext } from "svelte";
@ -47,7 +47,7 @@
{#await data.waitable} {#await data.waitable}
<TextPlaceholder divClass='skeleton-leather w-full' size="xxl" /> <TextPlaceholder divClass='skeleton-leather w-full' size="xxl" />
{:then} {:then}
<Article <Publication
rootId={data.parser.getRootIndexId()} rootId={data.parser.getRootIndexId()}
publicationType={data.publicationType} publicationType={data.publicationType}
indexEvent={data.indexEvent} indexEvent={data.indexEvent}

Loading…
Cancel
Save