Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Nov 15, 2023
1 parent 463e927 commit a221863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/mirrors/edit/[mirrorId]/syncStatusTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const SyncStatusTable = ({ rows }: SyncStatusTableProps) => {
const startRow = (currentPage - 1) * ROWS_PER_PAGE;
const endRow = startRow + ROWS_PER_PAGE;
const allRows = rows.slice(startRow, endRow);
const [displayedRows, setDisplayedRows] = useState(
const [displayedRows, setDisplayedRows] = useState(() =>
rows.slice(startRow, endRow)
);
const handlePrevPage = () => {
Expand Down

0 comments on commit a221863

Please sign in to comment.