Merge pull request #275 from reuters-graphics/mf-cleanup

Svelte 5 migration cleanup
This commit is contained in:
MinamiFunakoshiTR 2025-04-21 12:45:46 -05:00 committed by GitHub
commit b4d92cea24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -285,8 +285,8 @@
<Pagination
bind:pageNumber
bind:pageSize
bind:pageLength={currentPageData.length}
bind:n={sortedData.length}
pageLength={currentPageData.length}
n={sortedData.length}
/>{/if}
</div>
</Block>

View file

@ -25,8 +25,8 @@
let {
pageNumber = $bindable(1),
pageSize = $bindable(25),
pageLength = $bindable(1),
n = $bindable(1),
pageLength = 1,
n = 1,
}: Props = $props();
let minRow = $derived(pageNumber * pageSize - pageSize + 1);