Skip to content

Commit

Permalink
Merge pull request #85 from benscobie/fix-table-last-result
Browse files Browse the repository at this point in the history
Fix not showing final period in the table
  • Loading branch information
benscobie authored Aug 5, 2024
2 parents 234f5b8 + f32892a commit 8f989ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/molecules/MonthLoanTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const MonthLoanTable: NextPage<MonthLoanTableProps> = ({
)
)!;

const completedResults = results.results.slice(0, periodCompleteIndex);
const completedResults = results.results.slice(0, periodCompleteIndex + 1);
const paging = usePager(completedResults);

return (
Expand Down

0 comments on commit 8f989ff

Please sign in to comment.