Skip to content

Commit

Permalink
only call updateQueryParams when needed (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossedfort authored Aug 15, 2023
1 parent c2aeba6 commit 36046d2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/lib/holocene/table/paginated-table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@
value: defaultItemsPerPage,
url,
});
} else {
updateQueryParameters({
parameter: perPageKey,
value: perPageParam,
url,
});
}
}
Expand All @@ -78,12 +72,6 @@
value: '1',
url,
});
} else {
updateQueryParameters({
parameter: currentPageKey,
value: currentPageParam,
url,
});
}
}
Expand Down

1 comment on commit 36046d2

@vercel
Copy link

@vercel vercel bot commented on 36046d2 Aug 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

holocene – ./

holocene.preview.thundergun.io
holocene-git-main.preview.thundergun.io

Please sign in to comment.