diff --git a/website/src/routes/(app)/search/+page.svelte b/website/src/routes/(app)/search/+page.svelte index f70adee..7d8203d 100644 --- a/website/src/routes/(app)/search/+page.svelte +++ b/website/src/routes/(app)/search/+page.svelte @@ -69,32 +69,33 @@ goto(`/search?${params}`) }} - let:pages > -
- - - - {#each pages as page (page.key)} - {#if page.type === "ellipsis"} -
...
- {:else} - - {page.value} - - {/if} - {/each} - - - -
+ {#snippet children({ pages })} +
+ + + + {#each pages as page (page.key)} + {#if page.type === "ellipsis"} +
...
+ {:else} + + {page.value} + + {/if} + {/each} + + + +
+ {/snippet} {/snippet}