Skip to content

Commit

Permalink
feat(PPDSC-2786): hardcode path to 'pagination'
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTParsons authored and JohnTParsons committed Mar 7, 2023
1 parent bae2cc8 commit ea0b6ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/pagination/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const ThemelessPagination = React.forwardRef<HTMLOListElement, PaginationProps>(
(
{
children,
path,
size = 'medium',
pageSize,
page: pageProp, // undefined if uncontrolled externally
Expand Down Expand Up @@ -136,7 +135,7 @@ const ThemelessPagination = React.forwardRef<HTMLOListElement, PaginationProps>(
return (
<PaginationProvider value={value}>
<StyledNav
path={path}
path="pagination"
size={size}
aria-label="pagination"
data-testid="pagination-container"
Expand Down
1 change: 0 additions & 1 deletion src/pagination/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export interface PaginationItemAriaInput {

export interface PaginationProps extends React.AriaAttributes {
children: Exclude<React.ReactNode, 'undefined'>;
path?: string;
size?: PaginationSize;
pageSize: number;
page?: number;
Expand Down

0 comments on commit ea0b6ef

Please sign in to comment.