Skip to content

Commit

Permalink
fix(Pagination): prevent default form submission (#4462)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored and abbeyhrt committed Oct 28, 2019
1 parent a257228 commit ddba360
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/components/Pagination/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,15 @@ export default class Pagination extends Component {
)}
{pageRange}
<button
type="button"
className={backButtonClasses}
onClick={this.decrementPage}
aria-label={backwardText}
disabled={backButtonDisabled}>
<CaretLeft24 />
</button>
<button
type="button"
className={forwardButtonClasses}
aria-label={forwardText}
onClick={this.incrementPage}
Expand Down

0 comments on commit ddba360

Please sign in to comment.