From 31f8e500b3fcff20e66edc2648d4eea6990c787b Mon Sep 17 00:00:00 2001 From: Erico Lendzian Date: Fri, 8 May 2020 18:14:12 -0300 Subject: [PATCH] fix(pagination): Remove `on:change` closure as the `page` variable is bound to the component --- src/components/Pagination/Pagination.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/Pagination/Pagination.svelte b/src/components/Pagination/Pagination.svelte index a41079cc..b3c16067 100644 --- a/src/components/Pagination/Pagination.svelte +++ b/src/components/Pagination/Pagination.svelte @@ -68,9 +68,6 @@ labelText={`Page number, of ${totalPages} pages`} inline hideLabel - on:change={({ detail }) => { - page = Number(detail); - }} bind:defaultValue={page}> {#each selectItems as size, i (size)}