Skip to content

Commit

Permalink
fix(UsaPagination): update preview/next slot bound methods to new name
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcate committed Dec 22, 2021
1 parent 1434b24 commit 8a728fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/UsaPagination/UsaPagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function getAriaLabel(pageNumber) {
<slot
name="previous"
:isFirstPage="isFirstPage"
:previousPage="previousPage"
:toPreviousPage="toPreviousPage"
>
<UsaPaginationArrow
direction="previous"
Expand Down Expand Up @@ -162,7 +162,7 @@ function getAriaLabel(pageNumber) {
>
</template>

<slot name="next" :isLastPage="isLastPage" :nextPage="nextPage">
<slot name="next" :isLastPage="isLastPage" :toNextPage="toNextPage">
<UsaPaginationArrow
direction="next"
:class="{ 'usa-pagination__item--hidden': isLastPage }"
Expand Down

0 comments on commit 8a728fe

Please sign in to comment.