Skip to content

Commit

Permalink
chore(#1459): Updated Pagination React code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ArakTaiRoth committed Nov 10, 2023
1 parent e2c62b3 commit 4b99e0d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions libs/docs/src/components/common/Pagination.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export const PaginationTableTemplate = (args) => {
</tr>
</thead>
<tbody>
{pageUsers.map(u =>
{pageUsers.map((u) =>
<tr key={u.id}>
<td>{u.firstName}</td>
<td>{u.lastName}</td>
Expand Down Expand Up @@ -495,7 +495,7 @@ export const PaginationTableTemplate = (args) => {
</tr>
</thead>
<tbody>
{pageUsers.map(u:any =>
{pageUsers.map((u:any) =>
<tr key={u.id}>
<td>{u.firstName}</td>
<td>{u.lastName}</td>
Expand All @@ -516,7 +516,6 @@ export const PaginationTableTemplate = (args) => {
</GoABlock>
<GoASpacer hSpacing="fill" />
<GoAPagination
variant={args.variant}
itemCount={users.length}
perPageCount={perPage}
pageNumber={page}
Expand Down

0 comments on commit 4b99e0d

Please sign in to comment.