Fix index page
This commit is contained in:
parent
7c4e81ee25
commit
cb1006c40d
|
@ -1,16 +1,7 @@
|
|||
<script lang="ts">
|
||||
import Layout from '../lib/components/Layout.svelte'
|
||||
import { createCollectionSubscriber } from '$lib/database'
|
||||
|
||||
const names = createCollectionSubscriber('6388a5e235c0c0fc8054', '6388a5e930cfd8a7ae56')
|
||||
</script>
|
||||
|
||||
<Layout>
|
||||
<h1>Home</h1>
|
||||
|
||||
<div>
|
||||
{#each $names as { name }}
|
||||
<p>{name}</p>
|
||||
{/each}
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
Loading…
Reference in New Issue