Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
fix(ToggleContent): Set type to 'button' (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
dborysiewicz authored Dec 5, 2018
1 parent 1b995ad commit 3172754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react/ToggleContent/ToggleContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class ToggleContent extends PureComponent<Props, State> {
color="transparent"
chevron={showMore ? 'up' : 'down'}
component={Button}
type="button"
onClick={this.handleShowMore}
aria-expanded={showMore}
aria-controls={`${id}-content`} >
Expand Down

0 comments on commit 3172754

Please sign in to comment.