Skip to content

Commit

Permalink
fix: small update
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtgnn committed Mar 1, 2024
1 parent ea993be commit 59416eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/_modules/components/Collection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
export let sort: SortProp<C> | undefined = undefined;
</script>

<slot entries={db.get_collection(name, { sort })} />
<slot documents={db.get_collection(name, { sort })} />
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
['current', 'asc'],
['date_start', 'desc']
]}
let:entries
let:documents
>
<div class="flex gap-2">
{#each entries as experience}
{#each documents as experience}
<div class="rounded-lg border border-gray-300 p-4">
<!-- TODO: Componente come superdebug di superforms per testare i json, visibile solo in dev -->
<pre>{JSON.stringify(experience, null, 2)}</pre>
Expand Down

0 comments on commit 59416eb

Please sign in to comment.