Browse Source

Formatting and SvelteKit 2/Svelte 5 upgrades

master
buttercat1791 9 months ago
parent
commit
5fb32e35b2
  1. 7
      src/lib/components/publications/TableOfContents.svelte
  2. 2
      src/routes/+layout.svelte

7
src/lib/components/publications/TableOfContents.svelte

@ -1,5 +1,8 @@ @@ -1,5 +1,8 @@
<script lang='ts'>
import { TableOfContents, type TocEntry } from '$lib/components/publications/table_of_contents.svelte';
import {
TableOfContents,
type TocEntry
} from '$lib/components/publications/table_of_contents.svelte';
import { getContext } from 'svelte';
import { Accordion, AccordionItem, SidebarDropdownWrapper, SidebarGroup, SidebarItem } from 'flowbite-svelte';
import Self from './TableOfContents.svelte';
@ -101,4 +104,4 @@ @@ -101,4 +104,4 @@
{/if}
{/each}
</SidebarGroup>
{/if}
{/if}

2
src/routes/+layout.svelte

@ -42,5 +42,5 @@ @@ -42,5 +42,5 @@
<div class={'leather mt-[76px] h-full w-full flex flex-col items-center'}>
<Navigation class='fixed top-0' />
<slot />
{@render children()}
</div>

Loading…
Cancel
Save