Skip to content

Commit

Permalink
Fix error on table with pagination story (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez authored Jan 27, 2025
1 parent f4459cb commit 96e8dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Table/Table.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const WithPagination = {

fetch();
// reload after changing currentPage
watch(async (currentPage) => await fetch());
watch(currentPage, async (currentPage) => await fetch());

function setPage(page) {
currentPage.value = page;
Expand Down

0 comments on commit 96e8dda

Please sign in to comment.