Skip to content

Commit

Permalink
Issue #PS-2322 fix: Workspace UI improvements and Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas1434shinde committed Nov 12, 2024
2 parents 5f6ab89 + 4ada740 commit e1f768f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/workspace/content/draft/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const DraftPage = () => {
<PaginationComponent
count={Math.ceil(totalCount / LIMIT)}
page={page}
onPageChange={(event, newPage) => setPage(newPage)}
onPageChange={(event, newPage) => setPage(newPage - 1)}
/>
)}
</Box>
Expand Down
3 changes: 1 addition & 2 deletions src/pages/workspace/content/publish/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,10 @@ const PublishPage = () => {
<PaginationComponent
count={Math.ceil(totalCount / LIMIT)}
page={page}
onPageChange={(event, newPage) => setPage(newPage)}
onPageChange={(event, newPage) => setPage(newPage - 1)}
/>
)}
</Box>
</Box>
</Layout>
);
};
Expand Down

0 comments on commit e1f768f

Please sign in to comment.