use button type button in pagination to prevent form submitting if using table inside of the form (#122)

This commit is contained in:
Misha 2017-03-09 18:14:49 +02:00 committed by Tanner Linsley
parent 218cf42bb2
commit 533bea77b6

View File

@ -4,7 +4,7 @@ import classnames from 'classnames'
// import _ from './utils'
const defaultButton = (props) => (
<button {...props} className='-btn'>{props.children}</button>
<button type='button' {...props} className='-btn'>{props.children}</button>
)
export default React.createClass({