Skip to content

Commit

Permalink
Fix error on table with pagination story
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Jan 27, 2025
1 parent f4459cb commit a6859bd
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 a6859bd

Please sign in to comment.