cleanup: use native html forms for earch and communities
This commit is contained in:
1 parent
e46422c27b
commit
73a4c16322
37 files changed
+254
-246
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores'
|
||||
import { page } from '$app/state'
|
||||
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||
import Pageination from '$lib/components/ui/Pageination.svelte'
|
||||
import { t } from '$lib/translations'
|
||||
@@ -33,9 +33,9 @@
|
||||
</div>
|
||||
{#if data.images.length == 20}
|
||||
<Pageination
|
||||
page={Number($page.url.searchParams.get('page')) || 1}
|
||||
page={Number(page.url.searchParams.get('page')) || 1}
|
||||
on:change={(p) => {
|
||||
searchParam($page.url, 'page', p.detail.toString())
|
||||
searchParam(page.url, 'page', p.detail.toString())
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
Reference in new issue
Block a user